Hi Peter,

Thanks for the prompt response, that sounds good.  I had a quick follow up 
question: How do you guys do it for the "adwords solutions" though? I see 
here 
<https://developers.google.com/adwords/scripts/docs/solutions/weather-based-campaign-management#generic-weather>
 you 
seem to bypass that:
var nyWeather = getWeatherForLocation("New York City, US");

if (nyWeather.weather.snow > 5 && nyWeather.weather.temperature < 273) {
  var adGroup = AdWordsApp.adGroups()
     .withCondition("CampaignName = 'New York Shoes'")
     .withCondition("AdGroupName='Snow boots'")
     .get()
     .next();
  adGroup.bidding().setCpc(adGroup.bidding().getCpc() + 0.3);
}

On Friday, 15 September 2017 17:07:46 UTC+10, Peter Oliquino wrote:
>
> Hi Tim,
>
> Your initial method of updating the bid modifier is already correct. We 
> highly recommend that you first retrieve a list of every object you wish to 
> update (unless you are sure that it exists and have its ID) then apply your 
> modifications accordingly so as to avoid issues such as the 
> EntityNotFound.INVALID_ID 
> <https://developers.google.com/adwords/api/docs/common-errors#EntityNotFound.INVALID_ID>
>  error 
> in the process.
>
> Best regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/44b4a024-0b07-4a97-bb90-59cec3f041ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to