- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- BudgetOption
- Metrics
- Try it!
Returns BudgetOption suggestions.
HTTP request
POST https://googleads.googleapis.com/v17/customers/{customerId}:suggestSmartCampaignBudgetOptions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customer |
Required. The ID of the customer whose budget options are to be suggested. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field suggestion_data . Required. For first time campaign creation use SuggestionInfo, for subsequent updates on BudgetOptions based on an already created campaign use that campaign. suggestion_data can be only one of the following: |
|
campaign |
Required. The resource name of the campaign to get suggestion for. |
suggestion |
Required. Information needed to get budget options |
Response body
Response message for SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions
. Depending on whether the system could suggest the options, either all of the options or none of them might be returned.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "low": { object ( |
Fields | |
---|---|
low |
Optional. The lowest budget option. |
recommended |
Optional. The recommended budget option. |
high |
Optional. The highest budget option. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
BudgetOption
Smart Campaign budget option.
JSON representation |
---|
{
"dailyAmountMicros": string,
"metrics": {
object ( |
Fields | |
---|---|
daily |
The amount of the budget, in the local currency for the account. Amount is specified in micros, where one million is equivalent to one currency unit. |
metrics |
Metrics pertaining to the suggested budget, could be empty if there is not enough information to derive the estimates. |
Metrics
Performance metrics for a given budget option.
JSON representation |
---|
{ "minDailyClicks": string, "maxDailyClicks": string } |
Fields | |
---|---|
min |
The estimated min daily clicks. |
max |
The estimated max daily clicks. |