Thanks Dhanya! It works!! :) Can you please let me know how to handle PolicyViolationError while adding keywords
On Thursday, 3 May 2018 02:55:20 UTC+10, Dhanya Sundararaju (AdWords API Team) wrote: > > Hi Aditi, > > In python, to upload media to an existing campaign, you would use code > snippet as below: > > campaign_service = client.GetService('CampaignService', > version='v201802') > # Construct operation and update campaign. > operation = { > 'operator': 'SET', > 'operand': { > 'id': campaign_id, > 'settings': { > 'xsi_type': 'UniversalAppCampaignSetting', > 'imageMediaIds': [media_id] > } > } > } > > Please let me know if you have further questions. > > Regards, > Dhanya, AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/d0c2fbf3-0c64-49e5-a4f3-1af862770b35%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.