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