Information needed to get suggestion for Smart Campaign. More information provided will help the system to derive better suggestions.
JSON representation | |
---|---|
{ "finalUrl": string, "languageCode": string, "adSchedules": [ { object ( |
Fields | ||
---|---|---|
finalUrl |
Optional. Landing page URL of the campaign. |
|
languageCode |
Optional. The two letter advertising language for the Smart campaign to be constructed, default to 'en' if not set. |
|
adSchedules[] |
Optional. The business ad schedule. |
|
keywordThemes[] |
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible. |
|
Union field business_setting . The business settings to consider when generating suggestions. Settings are automatically extracted from the business when provided. Otherwise, these settings must be specified explicitly. business_setting can be only one of the following: |
||
businessContext |
Optional. Context describing the business to advertise. |
|
businessLocationId |
Optional. The ID of the Business Profile location. The location ID can be fetched by Business Profile API with its form: accounts/{accountId}/locations/{locationId}. The last {locationId} component from the Business Profile API represents the businessLocationId. See the Business Profile API |
|
Union field geo_target . The geo target of the campaign, either a list of locations or a single proximity shall be specified. geo_target can be only one of the following: |
||
locationList |
Optional. The targeting geo location by locations. |
|
proximity |
Optional. The targeting geo location by proximity. |
BusinessContext
A context that describes a business.
JSON representation | |
---|---|
{ "businessName": string } |
Fields | |
---|---|
businessName |
Optional. The name of the business. |
LocationList
A list of locations.
JSON representation | |
---|---|
{
"locations": [
{
object ( |
Fields | |
---|---|
locations[] |
Required. Locations. |