Hi I was hoping to get your expertise with a question I had:
I am looking to continually change the bid modifier for a campaign in 1 specific location. So I can understand I'll use the CampaignBidModifierService object while passing through a criterion. My question is:
Is there anyway to simply update the bid modifier on that location without worrying whether there already a criterion ID set up for modifying the bid in that location? Or, alternatively, should I write my program to do the below:
1. Check to see if there is a criterion that applies to that campaign and that location targeting.
If so:
2.Get the criterion ID
If not:
2.Add a new criterion ID
3. Use the CampaignBidModifierService with either the old or new criterion ID.
Is there an easier way to do this. Is there a script equivalent of saying: "Not matter what the current bid modifier is for my campaign and New York location targeting, now overwrite that bid modifier to be 2."
Thanks again,
Tim