Hi everyone.
I am currently working on a python script to create campaigns, adgroups and
ads and I need to create labels and assign those to campaigns.
I have created text labels but I can't find a way to attach a label to a
campaign. I've tried the following code:
{'name':tup[0], 'status':'PAUSED', 'advertisingChannelType':'SEARCH',
'biddingStrategyConfiguration':
{'biddingStrategyType':'MANUAL_CPC',},
'budget':{'budgetId':tup[1]},
'labels':{'labelId':tup[2],},
'networkSetting':{'targetGoogleSearch':'true',
'targetSearchNetwork':'true', 'targetContentNetwork':'false',
'targetPartnerSearchNetwork':'false'},}
Of course I got an error: suds.TypeNotFound: Type not found: 'labelId'
I can't find any example where a campaign is created with a label id so is
it even possible or do I have to create a campaign then assign it a label ?
And if you have the solution, a code example would be nice.
Thank you for your help.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d2981077-2e8f-4f94-a99c-865c078be01c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.