2

I am looking for the equivalents of Adwords API in the new Google ads API in PHP.

For example, the equivalent of

use Google\AdsApi\AdWords\v201809\cm\AgeRange;

is

use Google\Ads\GoogleAds\V10\Common\AgeRangeInfo;

But I can't find the exact equivalents for those for example:

use Google\AdsApi\AdWords\v201809\cm\GeoTargetTypeSetting;
use Google\AdsApi\AdWords\v201809\cm\GeoTargetTypeSettingNegativeGeoTargetType;
use Google\AdsApi\AdWords\v201809\cm\GeoTargetTypeSettingPositiveGeoTargetType;

Do you know any translators from google adwords to google ads?

geen21
  • 71
  • 6

1 Answers1

1

I don't think there's complete "translators" as such. You can find a mapping of Adwords API reports to Ads API resources here and general concepts and pointers for the migration here.

As for your specific example, the corresponding type in the Ads API is also called GeoTargetTypeSetting.

dorian
  • 5,667
  • 1
  • 19
  • 36