将Adwords信息同步到本地数据库的最具成本效益的方法是什么

问题描述:

I am working on Adwords API to get information about campaigns, adgroups, criteria, ads and then keywords and store them in local database. There could be many updates directly on Adwords Portal on a day to day basis. But I need my application to reflect all those updates in my local database as well. What is the most cost-effective way to achieve this and How?

我正在开发Adwords API,以获取有关广告系列,广告组,条件,广告和关键字的信息,并将其存储在 本地数据库。 Adwords门户网站每天都可以直接进行许多更新。 但是我需要我的应用程序来反映我本地数据库中的所有更新。 实现这一目标的最具成本效益的方法是什么?如何? p> div>

The answer depends on what fields you are interested in storing in your local database. One approach is to run AdWords API reports to download and load values into the local database. The plus side is that reports are free. The downside is that reports do not expose all fields. The other approach is to run CustomerSyncService to figure out what exactly changed during a period and make AdWords API calls to download specific objects. That will cost you money, but it is better than downloading the entire account using AdWords API calls.

See the following links:

Reporting basics: http://code.google.com/apis/adwords/docs/guides/reporting.html Report types: http://code.google.com/apis/adwords/docs/appendix/reports.html CustomerSyncService: http://code.google.com/apis/adwords/docs/reference/latest/CustomerSyncService.html Using CustomerSyncService: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/AccountManagement/GetAccountChanges.php

Also, if you have more questions related to AdWords API, I recommend asking them on the official forum at http://code.google.com/apis/adwords/community/. The forum is active and AdWords API team members and official library maintainers regularly answer questions on the forum.