public final class ServiceQuery extends Object implements ServiceQueryInterface<Page>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceQuery.Builder
Builds a
ServiceQuery object. |
ServiceQueryInterface.BuilderInterface<PageT,SortOrderT>| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
hasNext(AdGroupBidLandscapePage page)
Checks if there is still an ad group bid landscape page left to query.
|
boolean |
hasNext(CriterionBidLandscapePage page)
Checks if there is still an criterion bid landscape page left to query.
|
boolean |
hasNext(Page page) |
ServiceQuery |
nextPage(AdGroupBidLandscapePage page)
Sets the LIMIT clause of the AWQL to the next page calculated by using the total number of
landscape points in
AdGroupBidLandscapePage. |
ServiceQuery |
nextPage(CriterionBidLandscapePage page)
Sets the LIMIT clause of the AWQL to the next page calculated by using the total number of
landscape points in
CriterionBidLandscapePage. |
ServiceQuery |
nextPage(Page page) |
String |
toString() |
public ServiceQuery nextPage(@Nullable Page page)
nextPage in interface ServiceQueryInterface<Page>public ServiceQuery nextPage(@Nullable AdGroupBidLandscapePage page)
AdGroupBidLandscapePage. If page is null, this will not
change the LIMIT clause.
This method is meant to be used with hasNext(). The page is necessary when
using DataService, as its paging mechanism is different from other services. For details, see
https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
page - the ad group bid landscape page whose total number of landscape points will be
used to increment the index in the LIMIT clausepublic ServiceQuery nextPage(@Nullable CriterionBidLandscapePage page)
CriterionBidLandscapePage. If page is null, this will not
change the LIMIT clause.
This method is meant to be used with hasNext(). The page is necessary when
using DataService, as its paging mechanism is different from other services. For details, see
https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
page - the criterion bid landscape page whose total number of landscape points will be
used to increment the index in the LIMIT clausepublic boolean hasNext(@Nullable Page page)
hasNext in interface ServiceQueryInterface<Page>public boolean hasNext(@Nullable AdGroupBidLandscapePage page)
This method is meant to be used with nextPage(AdGroupBidLandscapePage).
The page is necessary when using DataService, as its paging mechanism is different from
other services. For details, see
https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
page - the ad group bid landscape page whose total number of landscape points will be used
to determine if there is still a page leftpublic boolean hasNext(@Nullable CriterionBidLandscapePage page)
This method is meant to be used with nextPage(CriterionBidLandscapePage). The page is necessary when using
DataService, as its paging mechanism is different from other services. For details, see
https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
page - the criterion bid landscape page whose total number of landscape points will be
used to determine if there is still a page leftpublic String toString()
toString in interface ServiceQueryInterface<Page>toString in class ObjectCopyright © 2023. All rights reserved.