Adding bid adjustments for mobile when creating campaigns

74 views
Skip to first unread message

Stepanian

unread,
Feb 3, 2016, 6:49:23 PM2/3/16
to AdWords API Forum
I am using the CampaignService to add new campaigns using the API. How can I add a bid adjustment for mobile devices for the entire campaign at the time of the campaign creation? The Campaign type does not have any fields that would provide for that. 

Umesh Dengale

unread,
Feb 4, 2016, 10:56:43 AM2/4/16
to AdWords API Forum
Hello,

By default, new campaign targets all types of devices (including desktop computers, tablets and mobile phones). You could modify the bid adjustment once the campaign is created. In the API, you set the bidModifier on the CampaignCriterion Platform 30001 as per your requirement. Please check out SetBidModifier Java example code from the client library. Other languages example code could be found here.

Thanks,
Umesh, AdWords API Team.

Stepanian

unread,
Feb 4, 2016, 6:54:52 PM2/4/16
to AdWords API Forum
Thank you for your quick response. The CampaignCriterion bidModifier field you mentioned is used for specific CampaignCriterion records. Is there a way to apply the bidModifier to the entire campaign as a default like the way it's done on the AdWords user web-based user interface?

Umesh Dengale

unread,
Feb 5, 2016, 10:11:27 AM2/5/16
to AdWords API Forum
Hello,

You could use the BatchJobService which supports the CampaignCriterion to add bidModifier. Please check BatchJobService guide and AddCompleteCampaignsUsingBatchJob Java example code from the client library. Other languages example code could be found here.

Stepanian

unread,
Feb 5, 2016, 7:19:44 PM2/5/16
to AdWords API Forum
Thanks again for your reply. 

What I need is to set the bid modifier as the default for the entire campaign - in other words have it apply to all negative keywords added to that campaign afterwards, like it's done on the Google AdWords site at the time of creating campaigns.

Wouldn't your suggested approach add the bid modifier to specific CampaignCriterion records and not to the Campaign as the default? 

Umesh Dengale

unread,
Feb 8, 2016, 10:49:25 AM2/8/16
to AdWords API Forum
Hello,

The CampaignCriterionOperation supported by BatchJobService will manage campaign-level criteria and not specific CampaignCriterion records. Please check out Batch processing and CampaignCriterionService guide for more details.

Stepanian

unread,
Feb 8, 2016, 1:59:00 PM2/8/16
to AdWords API Forum
I see. Thanks. So a bid modifier cannot be assigned to a campaign using a synchronous API like CampaignService? I alresdy have all my code written using the asynchronous APIs.

Umesh Dengale

unread,
Feb 8, 2016, 5:24:02 PM2/8/16
to AdWords API Forum
Hello,

The bidModifier could not be added using the CampaignService. The CampaignCriterionService(synchronous) or BatchJobService (CampaignCriterionOperation - asynchronous ) could be used to set the bidModifier.

Regards,
Umesh, AdWords API Team.

Stepanian

unread,
Feb 17, 2016, 5:03:19 PM2/17/16
to AdWords API Forum
Thanks!
Reply all
Reply to author
Forward
0 new messages