Hi,
I'm trying to add labels to adgroups using BatchJobService but encounter an
error. I read in
https://developers.google.com/adwords/api/docs/guides/batch-jobs that
AdGroupsLabelOperation is a supported operation so I've built following
operation that I try to upload (code based on
add_complete_campaigns_using_batch_job.py in the Python library):
adgroup_operations = [{'operand': {'adGroupId': id_1, 'labelId': lbl_id1},
'operator': 'ADD', 'xsi_type': 'AdGroupLabelOperation'}
, {'operand': {'adGroupId': id_2, 'labelId':
lbl_id2}, 'operator': 'ADD', 'xsi_type': 'AdGroupLabelOperation'}]
batch_job_helper.UploadOperations(upload_url, adgroup_operations)
I get an "GoogleAdsValueError: Unrecognized service for the AdWords API.
Service given: AdGroupLabelService" error. Is there a way I can use batch
processing for labels?
Thanks,
Peter
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/50b12d6b-b0de-4601-9462-5fb8c7474dd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.