Update bid adjustements of campaign schedule.

78 views
Skip to first unread message

Rapishiny

unread,
Sep 5, 2018, 6:26:27 AM9/5/18
to AdWords API and Google Ads API Forum
Hello,

I currently have a problem with AdSchedule for ad campaigns.

I can get the bidding adjustments from adwords but I don't see how to update the information from my code.

Looking here I don't see any parameters to change:

Thank you for your help and sorry for my english.

Bharani Cherukuri (AdWords API Team)

unread,
Sep 5, 2018, 12:17:27 PM9/5/18
to AdWords API and Google Ads API Forum
Hello Ludius,

You will be able to use the bidModifier field of the CampaignCriterionService with CampaignCriterion as AdSchedule. Please check the attached SOAP logs on how to update this as a reference. If you're testing in Java, adding the below two lines of code in this code sample also will set the ad schedule bids. 

AdSchedule schedule = new AdSchedule();
schedule.setId(300096L);

You may refer to the SetBidModifier code samples in other languages here. Can you give this a try and let me know if you have any issues?

Thanks,
Bharani, AdWords API Team
Sample_Logs.rtf

Rapishiny

unread,
Sep 6, 2018, 3:29:02 AM9/6/18
to AdWords API and Google Ads API Forum
It works, thank you!
I didn't think we could update only one criterion I always did it on the entire campaign.....

I used the example of this page: (SetBidModifier class) https://developers.google.com/adwords/api/docs/samples/php/campaign-management
Reply all
Reply to author
Forward
0 new messages