Hi, i am fairly new with adwords API and can't find the missing example at 
the docs:

there is a way how to connect the campaign to the label, but there is no 
example about how to connect the ads to the label
i am using the python API

here is the campaign example, can you please point me at the right 
direction?

   36   campaign_service = client.GetService('CampaignService', 
version='v201806')
   37
   38   operations = [
   39     ¦ {
   40     ¦   ¦ 'operator': 'ADD',
   41     ¦   ¦ 'operand': {
   42     ¦   ¦   ¦ 'campaignId': campaign_id1,
   43     ¦   ¦   ¦ 'labelId': label_id,
   44     ¦   ¦ }
   45     ¦ },
   46     ¦ {
   47     ¦   ¦ 'operator': 'ADD',
   48     ¦   ¦ 'operand': {
   49     ¦   ¦   ¦ 'campaignId': campaign_id2,
   50     ¦   ¦   ¦ 'labelId': label_id,
   51     ¦   ¦ }
   52     ¦ }
   53   ]
   54
   55   result = campaign_service.mutateLabel(operations)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/510277ff-4f79-49ab-a9da-863b354ae978%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Alexandr Zhorzh
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to