Hi Adam,

When creating a campaign, you need to provide the list of labelIds that you 
want to apply in the labels 
<https://developers.google.com/adwords/api/docs/reference/v201609/CampaignService.Campaign#labels>
 field 
as shown below:

'labels': [
              {
                  'id': LABEL_ID
              }
          ] 

If you want to apply labels after the campaigns have been created, you need 
to use CampaignService.mutateLabel() 
<https://developers.google.com/adwords/api/docs/reference/v201609/CampaignService#mutateLabel>
 method 
to add a label. The add_campaign_labels.py 
<https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201609/campaign_management/add_campaign_labels.py>
 Python 
example demonstrates how to add a label to multiple campaigns.

Regards,
Shwetha, 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/f321519f-b3a5-4da8-a2ce-3ef745a1ba2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Adding labels t... adam
    • Re: Adding... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to