get
This method returns bids for keywords and autotargetings that match the specified criteria, along with auction data: bids and actual CPC for various traffic volumes in search results, and bids to reach different audience shares in ad networks.
You can get bids regardless of whether your campaign uses a manual or automatic strategy.
Alert
All returned monetary values are integers — the result of multiplying the bid or CPC by 1,000,000.
Learn more
Restrictions
The method returns a maximum of page-size
objects.
Request
Request structure in JSON format:
{
"method": "get",
"params": { /* params */
"SelectionCriteria": { /* KeywordBidsSelectionCriteria */
"CampaignIds": [(long), ... ],
"AdGroupIds": [(long), ... ],
"KeywordIds": [(long), ... ],
"ServingStatuses": [( "ELIGIBLE" | "RARELY_SERVED" ), ... ]
}, /* required */
"FieldNames": [( "KeywordId" | "AdGroupId" | "CampaignId" | "ServingStatus" | "StrategyPriority" ), ... ], /* required */
"SearchFieldNames": [( "Bid" | "AutotargetingSearchBidIsAuto" | "AuctionBids" ), ... ],
"NetworkFieldNames": [( "Bid" | "Coverage" ), ... ],
"Page": { /* LimitOffset */
"Limit": (long),
"Offset": (long)
}
}
}
Parameter |
Type |
Description |
Required |
params structure (for JSON) / GetRequest (for SOAP) |
|||
|
KeywordBidsSelectionCriteria |
Criteria for selecting keywords and autotargetings. |
Yes |
|
array of KeywordBidFieldEnum |
Names of top-level parameters to get. |
Yes |
|
array of KeywordBidSearchFieldEnum |
Names of search bidding parameters to get. Don't request the |
No |
|
array of KeywordBidNetworkFieldEnum |
Names of ad network bidding parameters to get. Don't request the |
No |
|
Structure that defines the page for paginated selection of data. |
No |
|
KeywordBidsSelectionCriteria structure |
|||
|
array of long |
Get bids for keywords and autotargetings in the specified campaigns. From 1 to |
One of the parameters: |
|
array of long |
Get bids for keywords and autotargetings in the specified ad groups. From 1 to |
|
|
array of long |
Get bids for the specified keywords and autotargetings. A maximum of |
|
|
array of ServingStatusEnum |
Get bids for keywords and autotargetings with the specified serving statuses of ad groups. For a description of the statuses, see the section Serving status for the ad group. |
No |
Response
Response structure in JSON format:
{
"result": { /* result */
"KeywordBids": [{ /* KeywordBidGetItem */
"CampaignId": (long),
"AdGroupId": (long),
"KeywordId": (long),
"ServingStatus": ( "ELIGIBLE" | "RARELY_SERVED" ),
"StrategyPriority": "NORMAL", /* nillable */
"Search": { /* Search */
"Bid": (long),
"AutotargetingSearchBidIsAuto",: ( "YES" | "NO" ),
"AuctionBids": { /* AuctionBids */
"AuctionBidItems": [{ /* AuctionBidItem */
"TrafficVolume": (int), /* required */
"Bid": (long), /* required */
"Price": (long) /* required */
}, ... ]
} /* nillable */
},
"Network": { /* Network */
"Bid": (long),
"Coverage": { /* Coverage */
"CoverageItems": [{ /* NetworkCoverageItem */
"Probability": (decimal), /* required */
"Bid": (long) /* required */
}, ... ]
} /* nillable */
}
}, ... ],
"LimitedBy": (long)
}
}
Parameter |
Type |
Description |
result structure (for JSON) / GetResponse (for SOAP) |
||
|
array of KeywordBidGetItem |
Bids. |
|
long |
Sequential number of the last object returned. It is included if there was a limit on the number of objects in the response. See the section Paginated data selection. |
KeywordBidGetItem structure |
||
|
long |
ID of the campaign that the keyword or autotargeting is associated with. |
|
long |
ID of the ad group that the keyword or autotargeting is associated with. |
|
long |
ID of the keyword or autotargeting. |
|
ServingStatusEnum |
Serving status for the ad group. For a description of the statuses, see the section Serving status for the ad group. |
|
PriorityEnum, nillable |
Priority of the keyword or autotargeting: NORMAL. |
|
Search |
Bid and auction data in search. |
|
Network |
Bid and auction data in ad networks. |
Search structure |
||
|
long |
The bid for displays in search results that was set by the advertiser. |
|
YesNoEnum |
A flag indicating whether automatic bid is enabled. |
|
AuctionBids, nillable |
Bids and actual CPCs in search results for various traffic volumes for this keyword. If the group only has image ads, it returns null (nil). If the ad group has very few impressions (the For autotargeting, it returns null (nil). |
AuctionBids structure |
||
|
array of AuctionBidItem |
Array of bids and actual CPCs in search results for various traffic volumes. |
AuctionBidItem structure |
||
|
int |
Traffic volume. |
|
long |
Bid in search for the specified traffic volume. |
|
long |
The actual CPC for the specified traffic volume. |
Network structure |
||
|
long |
The bid for displays in ad networks that was set by the advertiser. |
|
Coverage, nillable |
The bids in ad networks that correspond to various percentages of audience coverage for this keyword. If the campaign uses the SERVING_OFF or NETWORK_DEFAULT strategy in ad networks, it returns null (nil). For autotargeting, it returns null (nil). |
Coverage structure |
||
|
NetworkCoverageItem |
Array of bids that correspond to various percentages of audience coverage. |
NetworkCoverageItem structure |
||
|
decimal |
The frequency of impressions (the audience coverage) in ad networks. Indicated as a percentage from 0 to 100. |
|
long |
Bid in ad networks for the specified frequency. |