I'm always getting zero results back though. I'm sending in the adgroup and
the keyword is as the CriterionId. Is that correct?
26 data_service = client.GetDataService(¬
25 'https://adwords.google.com', 'v201209')¬
24 # Construct selector and get all campaigns.¬
23 offset = 0¬
22 selector = {¬
21 'fields': ['AdGroupId', 'StartDate'],¬
20 'predicates': [¬
19
{'field':'AdGroupId','operator':'EQUALS','values':['2348689xxx']},¬
18 {'field':'CriterionId',
'operator':'IN','values':['152491xxx']},¬
17 ],¬
16 'paging': {¬
15 'startIndex': str(offset),¬
14 'numberResults': str(PAGE_SIZE)¬
13 }¬
12 }¬
11 page = data_service.getCriterionBidLandscape(selector)
I get back
{'totalNumEntries': '0', 'Page_Type': 'CriterionBidLandscapePage'}
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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