Hi Api team,
Recently I meet an issue with selection, I need to do some update on our
paused or removed adgroups or other objects. I am having some issue with
selecting these object for further operations. I basically follow the code
example here
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/basicoperations/GetExpandedTextAds.java>,
but seems like I cannot select paused adGroup,
// Get the AdGroupService.
AdGroupServiceInterface adGroupService =
adWordsServices.get(session, AdGroupServiceInterface.class);
int offset = 0;
boolean morePages = true;
// Create selector.
SelectorBuilder builder = new SelectorBuilder();
Selector selector = builder
.fields(AdGroupField.Id, AdGroupField.Name)
.orderAscBy(AdGroupField.Name)
.offset(offset)
.limit(PAGE_SIZE)
.equals(AdGroupField.CampaignId, campaignId.toString())
.in(AdGroupField.Status, "ENABLED", "PAUSED")
.build();
Always return null, I think this might happen if I want to select other
objects.
Do you have any idea how to work around this ?
Best regards
Yali
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b0a98b9d-0364-4206-b963-3427313590d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.