How could I select "Custom bid & URL method" for AdGroups settings?

85 views
Skip to first unread message

Carlos Abrantes

unread,
Feb 6, 2018, 9:35:03 AM2/6/18
to AdWords API Forum
In example https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201702/BasicOperations/AddAdGroups.php

    $targetingSetting = new TargetingSetting();
    $details = [];
    $details[] = new TargetingSettingDetail(CriterionTypeGroup::PLACEMENT, false);
    $details[] = new TargetingSettingDetail(CriterionTypeGroup::VERTICAL, true);
    $targetingSetting->setDetails($details);
    $adGroup->setSettings([$targetingSetting]);

Creates Ad Gruop well, but when i go to adwords.com the setting "Custom bid & URL method " display "None"

How can I select some option in this setting?

Carlos Abrantes

unread,
Feb 6, 2018, 11:11:10 AM2/6/18
to AdWords API Forum
Autoresponse: the setting is ContentBidCriterionTypeGroup

P.e. $adGroup->setContentBidCriterionTypeGroup(CriterionTypeGroup::GENDER);  

More info at https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupService.AdGroup#contentbidcriteriontypegroup

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Feb 6, 2018, 3:21:26 PM2/6/18
to AdWords API Forum
Hi Carlos, 

I see that you have found the attribute that you were looking for. Did you need any further assistance from us? If so, could you please share the UI screenshot of the attribute that you want to set? You could use reply privately to author while sharing the details. 

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages