From 90e85d1303a1eb923c0f4dede0970f17bfe4bfa5 Mon Sep 17 00:00:00 2001 From: Axel Vermeil Date: Thu, 18 Jun 2020 13:51:58 +0000 Subject: [PATCH 1/8] fix(docs): show correct numbers for enums, fixes #78 and #120 --- docs/content/entities/account_budget/meta.js | 99 ++- .../entities/account_budget_proposal/meta.js | 92 ++- docs/content/entities/ad/meta.js | 287 ++++---- docs/content/entities/ad_group/meta.js | 131 ++-- docs/content/entities/ad_group_ad/meta.js | 368 ++++++----- .../entities/ad_group_bid_modifier/meta.js | 60 +- .../entities/ad_group_criterion/meta.js | 357 ++++++---- .../ad_group_criterion_simulation/meta.js | 26 +- .../ad_group_extension_setting/meta.js | 38 +- docs/content/entities/ad_group_feed/meta.js | 12 +- .../entities/ad_group_simulation/meta.js | 26 +- docs/content/entities/asset/meta.js | 43 +- .../content/entities/bidding_strategy/meta.js | 45 +- docs/content/entities/billing_setup/meta.js | 43 +- docs/content/entities/campaign/meta.js | 280 +++++--- .../entities/campaign_bid_modifier/meta.js | 5 +- docs/content/entities/campaign_budget/meta.js | 43 +- .../entities/campaign_criterion/meta.js | 334 +++++----- .../campaign_criterion_simulation/meta.js | 26 +- .../campaign_extension_setting/meta.js | 38 +- docs/content/entities/campaign_feed/meta.js | 12 +- .../entities/campaign_shared_set/meta.js | 16 +- docs/content/entities/change_status/meta.js | 32 +- .../entities/conversion_action/meta.js | 110 +++- docs/content/entities/custom_interest/meta.js | 37 +- .../entities/customer_client_link/meta.js | 20 +- .../customer_extension_setting/meta.js | 38 +- docs/content/entities/customer_feed/meta.js | 12 +- .../entities/customer_manager_link/meta.js | 20 +- .../customer_negative_criterion/meta.js | 105 +-- .../entities/extension_feed_item/meta.js | 254 +++++--- docs/content/entities/feed/meta.js | 85 ++- docs/content/entities/feed_item/meta.js | 126 +++- .../content/entities/feed_item_target/meta.js | 87 +-- docs/content/entities/feed_mapping/meta.js | 614 ++++++++++++++---- .../entities/geo_target_constant/meta.js | 11 +- docs/content/entities/keyword_plan/meta.js | 9 +- .../entities/keyword_plan_campaign/meta.js | 8 +- .../entities/keyword_plan_keyword/meta.js | 14 +- .../keyword_plan_negative_keyword/meta.js | 14 +- docs/content/entities/label/meta.js | 12 +- docs/content/entities/media_file/meta.js | 42 +- .../entities/mobile_device_constant/meta.js | 12 +- .../operating_system_version_constant/meta.js | 16 +- .../product_bidding_category_constant/meta.js | 30 +- docs/content/entities/recommendation/meta.js | 372 ++++++----- .../entities/remarketing_action/meta.js | 19 +- .../content/entities/shared_criterion/meta.js | 81 ++- docs/content/entities/shared_set/meta.js | 32 +- docs/content/entities/user_interest/meta.js | 55 +- docs/content/entities/user_list/meta.js | 404 +++++++----- docs/src/components/enums.jsx | 9 +- scripts/generate_services.js | 16 +- 53 files changed, 3304 insertions(+), 1773 deletions(-) diff --git a/docs/content/entities/account_budget/meta.js b/docs/content/entities/account_budget/meta.js index a3f8f8d2..9e82e1fe 100644 --- a/docs/content/entities/account_budget/meta.js +++ b/docs/content/entities/account_budget/meta.js @@ -11,9 +11,13 @@ module.exports = { _description: 'Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.', index: 2 }, ], _oneof: 'adjustedSpendingLimit', _type: 'enum', @@ -31,10 +35,14 @@ module.exports = { approved_end_time_type: { _description: 'Output only. The approved end time as a well-defined type, e.g. FOREVER.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'approvedEndTime', _type: 'enum', @@ -49,9 +57,13 @@ module.exports = { _description: 'Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.', index: 2 }, ], _oneof: 'approvedSpendingLimit', _type: 'enum', @@ -88,13 +100,14 @@ module.exports = { end_time_type: { _description: 'Output only. The end time as a well-defined type, e.g. FOREVER.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _type: 'enum', }, @@ -104,15 +117,24 @@ module.exports = { _description: 'Output only. The type of this proposal, e.g. END to end the budget associated with this proposal.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CREATE', description: 'Identifies a request to create a new budget.', index: 2 }, + { s: 'UPDATE', description: 'Identifies a request to edit an existing budget.', index: 3 }, + { + s: 'END', + description: 'Identifies a request to end a budget that has already started.', + index: 4, + }, + { + s: 'REMOVE', + description: "Identifies a request to remove a budget that hasn't started yet.", + index: 5, }, - { s: 'CREATE', description: 'Identifies a request to create a new budget.' }, - { s: 'UPDATE', description: 'Identifies a request to edit an existing budget.' }, - { s: 'END', description: 'Identifies a request to end a budget that has already started.' }, - { s: 'REMOVE', description: "Identifies a request to remove a budget that hasn't started yet." }, ], _type: 'enum', }, @@ -128,12 +150,13 @@ module.exports = { spending_limit_type: { _description: 'Output only. The spending limit as a well-defined type, e.g. INFINITE.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.' }, + { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.', index: 2 }, ], _type: 'enum', }, @@ -150,10 +173,14 @@ module.exports = { proposed_end_time_type: { _description: 'Output only. The proposed end time as a well-defined type, e.g. FOREVER.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'proposedEndTime', _type: 'enum', @@ -166,9 +193,13 @@ module.exports = { proposed_spending_limit_type: { _description: 'Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.', index: 2 }, ], _oneof: 'proposedSpendingLimit', _type: 'enum', @@ -191,11 +222,15 @@ module.exports = { status: { _description: 'Output only. The status of this account-level budget.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'PENDING', description: 'The account budget is pending approval.' }, - { s: 'APPROVED', description: 'The account budget has been approved.' }, - { s: 'CANCELLED', description: 'The account budget has been cancelled by the user.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'PENDING', description: 'The account budget is pending approval.', index: 2 }, + { s: 'APPROVED', description: 'The account budget has been approved.', index: 3 }, + { s: 'CANCELLED', description: 'The account budget has been cancelled by the user.', index: 4 }, ], _type: 'enum', }, diff --git a/docs/content/entities/account_budget_proposal/meta.js b/docs/content/entities/account_budget_proposal/meta.js index 20a93c13..e57904dc 100644 --- a/docs/content/entities/account_budget_proposal/meta.js +++ b/docs/content/entities/account_budget_proposal/meta.js @@ -17,10 +17,14 @@ module.exports = { approved_end_time_type: { _description: 'Output only. The approved end date time as a well-defined type, e.g. FOREVER.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'approvedEndTime', _type: 'enum', @@ -33,9 +37,13 @@ module.exports = { approved_spending_limit_type: { _description: 'Output only. The approved spending limit as a well-defined type, e.g. INFINITE.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.', index: 2 }, ], _oneof: 'approvedSpendingLimit', _type: 'enum', @@ -58,12 +66,20 @@ module.exports = { _description: 'Immutable. The type of this proposal, e.g. END to end the budget associated with this proposal.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CREATE', description: 'Identifies a request to create a new budget.' }, - { s: 'UPDATE', description: 'Identifies a request to edit an existing budget.' }, - { s: 'END', description: 'Identifies a request to end a budget that has already started.' }, - { s: 'REMOVE', description: "Identifies a request to remove a budget that hasn't started yet." }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CREATE', description: 'Identifies a request to create a new budget.', index: 2 }, + { s: 'UPDATE', description: 'Identifies a request to edit an existing budget.', index: 3 }, + { s: 'END', description: 'Identifies a request to end a budget that has already started.', index: 4 }, + { + s: 'REMOVE', + description: "Identifies a request to remove a budget that hasn't started yet.", + index: 5, + }, ], _type: 'enum', }, @@ -75,10 +91,14 @@ module.exports = { proposed_end_time_type: { _description: 'Immutable. The proposed end date time as a well-defined type, e.g. FOREVER.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'proposedEndTime', _type: 'enum', @@ -98,9 +118,13 @@ module.exports = { proposed_spending_limit_type: { _description: 'Immutable. The proposed spending limit as a well-defined type, e.g. INFINITE.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'INFINITE', description: 'Infinite, indicates unlimited spending power.', index: 2 }, ], _oneof: 'proposedSpendingLimit', _type: 'enum', @@ -113,10 +137,14 @@ module.exports = { proposed_start_time_type: { _description: 'Immutable. The proposed start date time as a well-defined type, e.g. NOW.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'proposedStartTime', _type: 'enum', @@ -130,19 +158,25 @@ module.exports = { _description: 'Output only. The status of this proposal. When a new proposal is created, the status defaults to PENDING.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'PENDING', description: 'The proposal is pending approval.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'PENDING', description: 'The proposal is pending approval.', index: 2 }, { s: 'APPROVED_HELD', description: 'The proposal has been approved but the corresponding billing setup\nhas not. This can occur for proposals that set up the first budget\nwhen signing up for billing or when performing a change of bill-to\noperation.', + index: 3, }, - { s: 'APPROVED', description: 'The proposal has been approved.' }, - { s: 'CANCELLED', description: 'The proposal has been cancelled by the user.' }, + { s: 'APPROVED', description: 'The proposal has been approved.', index: 4 }, + { s: 'CANCELLED', description: 'The proposal has been cancelled by the user.', index: 5 }, { s: 'REJECTED', description: 'The proposal has been rejected by the user, e.g. by rejecting an\nacceptance email.', + index: 6, }, ], _type: 'enum', diff --git a/docs/content/entities/ad/meta.js b/docs/content/entities/ad/meta.js index 39c179f7..f30283cb 100644 --- a/docs/content/entities/ad/meta.js +++ b/docs/content/entities/ad/meta.js @@ -17,17 +17,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -41,17 +42,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -74,17 +76,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -107,17 +110,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -131,17 +135,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -176,20 +181,23 @@ module.exports = { _description: 'The call conversion behavior of this call only ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DISABLED', description: 'Call conversion action is disabled.' }, + { s: 'DISABLED', description: 'Call conversion action is disabled.', index: 2 }, { s: 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the\naccount level.', + index: 3, }, { s: 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the resource\n(call only ads/call extensions) level.', + index: 4, }, ], _type: 'enum', @@ -214,13 +222,13 @@ module.exports = { _description: 'The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the ad will be preferred over other ads when being displayed on a mobile device. The ad can still be displayed on other device types, e.g. if no other ads are available. If unspecified (no device preference), all devices are targeted. This is only supported by some ad types.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile devices with full browsers.' }, - { s: 'TABLET', description: 'Tablets with full browsers.' }, - { s: 'DESKTOP', description: 'Computers.' }, - { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.' }, - { s: 'OTHER', description: 'Other device types.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MOBILE', description: 'Mobile devices with full browsers.', index: 2 }, + { s: 'TABLET', description: 'Tablets with full browsers.', index: 3 }, + { s: 'DESKTOP', description: 'Computers.', index: 4 }, + { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.', index: 6 }, + { s: 'OTHER', description: 'Other device types.', index: 5 }, ], _type: 'enum', }, @@ -230,57 +238,67 @@ module.exports = { display_upload_product_type: { _description: 'The product type of this ad. See comments on the enum for details.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'HTML5_UPLOAD_AD', description: 'HTML5 upload ad. This product type requires the upload_media_bundle\nfield in DisplayUploadAdInfo to be set.', + index: 2, }, { s: 'DYNAMIC_HTML5_EDUCATION_AD', description: 'Dynamic HTML5 education ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in an education campaign.', + index: 3, }, { s: 'DYNAMIC_HTML5_FLIGHT_AD', description: 'Dynamic HTML5 flight ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a flight campaign.', + index: 4, }, { s: 'DYNAMIC_HTML5_HOTEL_RENTAL_AD', description: 'Dynamic HTML5 hotel and rental ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a hotel campaign.', + index: 5, }, { s: 'DYNAMIC_HTML5_JOB_AD', description: 'Dynamic HTML5 job ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a job campaign.', + index: 6, }, { s: 'DYNAMIC_HTML5_LOCAL_AD', description: 'Dynamic HTML5 local ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a local campaign.', + index: 7, }, { s: 'DYNAMIC_HTML5_REAL_ESTATE_AD', description: 'Dynamic HTML5 real estate ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a real estate campaign.', + index: 8, }, { s: 'DYNAMIC_HTML5_CUSTOM_AD', description: 'Dynamic HTML5 custom ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a custom campaign.', + index: 9, }, { s: 'DYNAMIC_HTML5_TRAVEL_AD', description: 'Dynamic HTML5 travel ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a travel campaign.', + index: 10, }, { s: 'DYNAMIC_HTML5_HOTEL_AD', description: 'Dynamic HTML5 hotel ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a hotel campaign.', + index: 11, }, ], _type: 'enum', @@ -323,13 +341,14 @@ module.exports = { os_type: { _description: 'The operating system targeted by this URL. Required.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'IOS', description: 'The Apple IOS operating system.' }, - { s: 'ANDROID', description: 'The Android operating system.' }, + { s: 'IOS', description: 'The Apple IOS operating system.', index: 2 }, + { s: 'ANDROID', description: 'The Android operating system.', index: 3 }, ], _type: 'enum', }, @@ -433,24 +452,25 @@ module.exports = { mime_type: { _description: 'The mime type of the image.', _enums: [ - { s: 'UNSPECIFIED', description: 'The mime type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The mime type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.' }, - { s: 'IMAGE_GIF', description: 'MIME type of image/gif.' }, - { s: 'IMAGE_PNG', description: 'MIME type of image/png.' }, - { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.' }, - { s: 'TEXT_HTML', description: 'MIME type of text/html.' }, - { s: 'PDF', description: 'MIME type of application/pdf.' }, - { s: 'MSWORD', description: 'MIME type of application/msword.' }, - { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.' }, - { s: 'RTF', description: 'MIME type of application/rtf.' }, - { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.' }, - { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.' }, - { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.' }, + { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.', index: 2 }, + { s: 'IMAGE_GIF', description: 'MIME type of image/gif.', index: 3 }, + { s: 'IMAGE_PNG', description: 'MIME type of image/png.', index: 4 }, + { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.', index: 5 }, + { s: 'TEXT_HTML', description: 'MIME type of text/html.', index: 6 }, + { s: 'PDF', description: 'MIME type of application/pdf.', index: 7 }, + { s: 'MSWORD', description: 'MIME type of application/msword.', index: 8 }, + { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.', index: 9 }, + { s: 'RTF', description: 'MIME type of application/rtf.', index: 10 }, + { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.', index: 11 }, + { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.', index: 12 }, + { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.', index: 13 }, ], _type: 'enum', }, @@ -472,16 +492,17 @@ module.exports = { app_store: { _description: 'The app store the mobile app is available in.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'APPLE_APP_STORE', description: 'Apple iTunes.' }, - { s: 'GOOGLE_PLAY', description: 'Google Play.' }, - { s: 'WINDOWS_STORE', description: 'Windows Store.' }, - { s: 'WINDOWS_PHONE_STORE', description: 'Windows Phone Store.' }, - { s: 'CN_APP_STORE', description: 'The app is hosted in a Chinese app store.' }, + { s: 'APPLE_APP_STORE', description: 'Apple iTunes.', index: 2 }, + { s: 'GOOGLE_PLAY', description: 'Google Play.', index: 3 }, + { s: 'WINDOWS_STORE', description: 'Windows Store.', index: 4 }, + { s: 'WINDOWS_PHONE_STORE', description: 'Windows Phone Store.', index: 5 }, + { s: 'CN_APP_STORE', description: 'The app is hosted in a Chinese app store.', index: 6 }, ], _type: 'enum', }, @@ -508,14 +529,15 @@ module.exports = { format_setting: { _description: 'Specifies which format the ad will be served in. Default is ALL_FORMATS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ALL_FORMATS', description: 'Text, image and native formats.' }, - { s: 'NON_NATIVE', description: 'Text and image formats.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ALL_FORMATS', description: 'Text, image and native formats.', index: 2 }, + { s: 'NON_NATIVE', description: 'Text and image formats.', index: 3 }, { s: 'NATIVE', description: 'Native format, i.e. the format rendering is controlled by the publisher\nand not by Google.', + index: 4, }, ], _type: 'enum', @@ -586,17 +608,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -605,14 +628,15 @@ module.exports = { format_setting: { _description: 'Specifies which format the ad will be served in. Default is ALL_FORMATS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ALL_FORMATS', description: 'Text, image and native formats.' }, - { s: 'NON_NATIVE', description: 'Text and image formats.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ALL_FORMATS', description: 'Text, image and native formats.', index: 2 }, + { s: 'NON_NATIVE', description: 'Text and image formats.', index: 3 }, { s: 'NATIVE', description: 'Native format, i.e. the format rendering is controlled by the publisher\nand not by Google.', + index: 4, }, ], _type: 'enum', @@ -625,17 +649,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -653,17 +678,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -715,17 +741,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -739,17 +766,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -780,9 +808,13 @@ module.exports = { _description: 'Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'AD_VARIATIONS', description: 'Generated ad variations experiment ad.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'AD_VARIATIONS', description: 'Generated ad variations experiment ad.', index: 2 }, ], _type: 'enum', }, @@ -797,36 +829,47 @@ module.exports = { type: { _description: 'Output only. The type of ad.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'TEXT_AD', description: 'The ad is a text ad.' }, - { s: 'EXPANDED_TEXT_AD', description: 'The ad is an expanded text ad.' }, - { s: 'CALL_ONLY_AD', description: 'The ad is a call only ad.' }, - { s: 'EXPANDED_DYNAMIC_SEARCH_AD', description: 'The ad is an expanded dynamic search ad.' }, - { s: 'HOTEL_AD', description: 'The ad is a hotel ad.' }, - { s: 'SHOPPING_SMART_AD', description: 'The ad is a Smart Shopping ad.' }, - { s: 'SHOPPING_PRODUCT_AD', description: 'The ad is a standard Shopping ad.' }, - { s: 'VIDEO_AD', description: 'The ad is a video ad.' }, - { s: 'GMAIL_AD', description: 'This ad is a Gmail ad.' }, - { s: 'IMAGE_AD', description: 'This ad is an Image ad.' }, - { s: 'RESPONSIVE_SEARCH_AD', description: 'The ad is a responsive search ad.' }, - { s: 'LEGACY_RESPONSIVE_DISPLAY_AD', description: 'The ad is a legacy responsive display ad.' }, - { s: 'APP_AD', description: 'The ad is an app ad.' }, - { s: 'LEGACY_APP_INSTALL_AD', description: 'The ad is a legacy app install ad.' }, - { s: 'RESPONSIVE_DISPLAY_AD', description: 'The ad is a responsive display ad.' }, + { s: 'TEXT_AD', description: 'The ad is a text ad.', index: 2 }, + { s: 'EXPANDED_TEXT_AD', description: 'The ad is an expanded text ad.', index: 3 }, + { s: 'CALL_ONLY_AD', description: 'The ad is a call only ad.', index: 6 }, + { s: 'EXPANDED_DYNAMIC_SEARCH_AD', description: 'The ad is an expanded dynamic search ad.', index: 7 }, + { s: 'HOTEL_AD', description: 'The ad is a hotel ad.', index: 8 }, + { s: 'SHOPPING_SMART_AD', description: 'The ad is a Smart Shopping ad.', index: 9 }, + { s: 'SHOPPING_PRODUCT_AD', description: 'The ad is a standard Shopping ad.', index: 10 }, + { s: 'VIDEO_AD', description: 'The ad is a video ad.', index: 12 }, + { s: 'GMAIL_AD', description: 'This ad is a Gmail ad.', index: 13 }, + { s: 'IMAGE_AD', description: 'This ad is an Image ad.', index: 14 }, + { s: 'RESPONSIVE_SEARCH_AD', description: 'The ad is a responsive search ad.', index: 15 }, + { + s: 'LEGACY_RESPONSIVE_DISPLAY_AD', + description: 'The ad is a legacy responsive display ad.', + index: 16, + }, + { s: 'APP_AD', description: 'The ad is an app ad.', index: 17 }, + { s: 'LEGACY_APP_INSTALL_AD', description: 'The ad is a legacy app install ad.', index: 18 }, + { s: 'RESPONSIVE_DISPLAY_AD', description: 'The ad is a responsive display ad.', index: 19 }, { s: 'HTML5_UPLOAD_AD', description: 'The ad is a display upload ad with the HTML5_UPLOAD_AD product type.', + index: 21, }, { s: 'DYNAMIC_HTML5_AD', description: 'The ad is a display upload ad with one of the DYNAMIC_HTML5_* product\ntypes.', + index: 22, + }, + { s: 'APP_ENGAGEMENT_AD', description: 'The ad is an app engagement ad.', index: 23 }, + { + s: 'SHOPPING_COMPARISON_LISTING_AD', + description: 'The ad is a Shopping Comparison Listing ad.', + index: 24, }, - { s: 'APP_ENGAGEMENT_AD', description: 'The ad is an app engagement ad.' }, - { s: 'SHOPPING_COMPARISON_LISTING_AD', description: 'The ad is a Shopping Comparison Listing ad.' }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group/meta.js b/docs/content/entities/ad_group/meta.js index a8661b6f..ba99bc39 100644 --- a/docs/content/entities/ad_group/meta.js +++ b/docs/content/entities/ad_group/meta.js @@ -4,13 +4,14 @@ module.exports = { ad_rotation_mode: { _description: 'The ad rotation mode of the ad group.', _enums: [ - { s: 'UNSPECIFIED', description: 'The ad rotation mode has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The ad rotation mode has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'OPTIMIZE', description: 'Optimize ad group ads based on clicks or conversions.' }, - { s: 'ROTATE_FOREVER', description: 'Rotate evenly forever.' }, + { s: 'OPTIMIZE', description: 'Optimize ad group ads based on clicks or conversions.', index: 2 }, + { s: 'ROTATE_FOREVER', description: 'Rotate evenly forever.', index: 3 }, ], _type: 'enum', }, @@ -30,32 +31,40 @@ module.exports = { _description: 'Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'KEYWORD', description: 'Keyword criteria, e.g. \'mars cruise\'. KEYWORD may be used as a custom bid\ndimension. Keywords are always a targeting dimension, so may not be set\nas a target "ALL" dimension with TargetRestriction.', + index: 2, }, { s: 'AUDIENCE', description: 'Audience criteria, which include user list, user interest, custom\naffinity, and custom in market.', + index: 3, }, { s: 'TOPIC', description: "Topic criteria for targeting categories of content, e.g.\n'category::Animals>Pets' Used for Display and Video targeting.", + index: 4, }, - { s: 'GENDER', description: 'Criteria for targeting gender.' }, - { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.' }, + { s: 'GENDER', description: 'Criteria for targeting gender.', index: 5 }, + { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.', index: 6 }, { s: 'PLACEMENT', description: "Placement criteria, which include websites like 'www.flowers4sale.com',\nas well as mobile applications, mobile app categories, YouTube videos,\nand YouTube channels.", + index: 7, }, - { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.' }, - { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.' }, + { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.', index: 8 }, + { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.', index: 9 }, ], _type: 'enum', }, @@ -66,14 +75,23 @@ module.exports = { effective_target_cpa_source: { _description: 'Output only. Source of the effective target CPA. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN_BIDDING_STRATEGY', description: 'Effective bid or target is inherited from campaign bidding strategy.', + index: 5, + }, + { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.', index: 6 }, + { + s: 'AD_GROUP_CRITERION', + description: 'The bid or target is defined on the ad group criterion.', + index: 7, }, - { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.' }, - { s: 'AD_GROUP_CRITERION', description: 'The bid or target is defined on the ad group criterion.' }, ], _type: 'enum', }, @@ -84,14 +102,23 @@ module.exports = { effective_target_roas_source: { _description: 'Output only. Source of the effective target ROAS. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN_BIDDING_STRATEGY', description: 'Effective bid or target is inherited from campaign bidding strategy.', + index: 5, + }, + { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.', index: 6 }, + { + s: 'AD_GROUP_CRITERION', + description: 'The bid or target is defined on the ad group criterion.', + index: 7, }, - { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.' }, - { s: 'AD_GROUP_CRITERION', description: 'The bid or target is defined on the ad group criterion.' }, ], _type: 'enum', }, @@ -123,14 +150,15 @@ module.exports = { status: { _description: 'The status of the ad group.', _enums: [ - { s: 'UNSPECIFIED', description: 'The status has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The status has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'ENABLED', description: 'The ad group is enabled.' }, - { s: 'PAUSED', description: 'The ad group is paused.' }, - { s: 'REMOVED', description: 'The ad group is removed.' }, + { s: 'ENABLED', description: 'The ad group is enabled.', index: 2 }, + { s: 'PAUSED', description: 'The ad group is paused.', index: 3 }, + { s: 'REMOVED', description: 'The ad group is removed.', index: 4 }, ], _type: 'enum', }, @@ -174,35 +202,40 @@ module.exports = { targeting_dimension: { _description: 'The targeting dimension that these settings apply to.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'KEYWORD', description: 'Keyword criteria, e.g. \'mars cruise\'. KEYWORD may be used as a custom bid\ndimension. Keywords are always a targeting dimension, so may not be set\nas a target "ALL" dimension with TargetRestriction.', + index: 2, }, { s: 'AUDIENCE', description: 'Audience criteria, which include user list, user interest, custom\naffinity, and custom in market.', + index: 3, }, { s: 'TOPIC', description: "Topic criteria for targeting categories of content, e.g.\n'category::Animals>Pets' Used for Display and Video targeting.", + index: 4, }, - { s: 'GENDER', description: 'Criteria for targeting gender.' }, - { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.' }, + { s: 'GENDER', description: 'Criteria for targeting gender.', index: 5 }, + { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.', index: 6 }, { s: 'PLACEMENT', description: "Placement criteria, which include websites like 'www.flowers4sale.com',\nas well as mobile applications, mobile app categories, YouTube videos,\nand YouTube channels.", + index: 7, }, - { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.' }, - { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.' }, + { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.', index: 8 }, + { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.', index: 9 }, ], _type: 'enum', }, @@ -220,35 +253,40 @@ module.exports = { targeting_dimension: { _description: 'The targeting dimension that these settings apply to.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'KEYWORD', description: 'Keyword criteria, e.g. \'mars cruise\'. KEYWORD may be used as a custom bid\ndimension. Keywords are always a targeting dimension, so may not be set\nas a target "ALL" dimension with TargetRestriction.', + index: 2, }, { s: 'AUDIENCE', description: 'Audience criteria, which include user list, user interest, custom\naffinity, and custom in market.', + index: 3, }, { s: 'TOPIC', description: "Topic criteria for targeting categories of content, e.g.\n'category::Animals>Pets' Used for Display and Video targeting.", + index: 4, }, - { s: 'GENDER', description: 'Criteria for targeting gender.' }, - { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.' }, + { s: 'GENDER', description: 'Criteria for targeting gender.', index: 5 }, + { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.', index: 6 }, { s: 'PLACEMENT', description: "Placement criteria, which include websites like 'www.flowers4sale.com',\nas well as mobile applications, mobile app categories, YouTube videos,\nand YouTube channels.", + index: 7, }, - { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.' }, - { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.' }, + { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.', index: 8 }, + { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.', index: 9 }, ], _type: 'enum', }, @@ -258,30 +296,37 @@ module.exports = { type: { _description: 'Immutable. The type of the ad group.', _enums: [ - { s: 'UNSPECIFIED', description: 'The type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'SEARCH_STANDARD', description: 'The default ad group type for Search campaigns.' }, - { s: 'DISPLAY_STANDARD', description: 'The default ad group type for Display campaigns.' }, + { s: 'SEARCH_STANDARD', description: 'The default ad group type for Search campaigns.', index: 2 }, + { s: 'DISPLAY_STANDARD', description: 'The default ad group type for Display campaigns.', index: 3 }, { s: 'SHOPPING_PRODUCT_ADS', description: 'The ad group type for Shopping campaigns serving standard product ads.', + index: 4, + }, + { s: 'HOTEL_ADS', description: 'The default ad group type for Hotel campaigns.', index: 6 }, + { + s: 'SHOPPING_SMART_ADS', + description: 'The type for ad groups in Smart Shopping campaigns.', + index: 7, }, - { s: 'HOTEL_ADS', description: 'The default ad group type for Hotel campaigns.' }, - { s: 'SHOPPING_SMART_ADS', description: 'The type for ad groups in Smart Shopping campaigns.' }, - { s: 'VIDEO_BUMPER', description: 'Short unskippable in-stream video ads.' }, - { s: 'VIDEO_TRUE_VIEW_IN_STREAM', description: 'TrueView (skippable) in-stream video ads.' }, - { s: 'VIDEO_TRUE_VIEW_IN_DISPLAY', description: 'TrueView in-display video ads.' }, - { s: 'VIDEO_NON_SKIPPABLE_IN_STREAM', description: 'Unskippable in-stream video ads.' }, - { s: 'VIDEO_OUTSTREAM', description: 'Outstream video ads.' }, - { s: 'SEARCH_DYNAMIC_ADS', description: 'Ad group type for Dynamic Search Ads ad groups.' }, + { s: 'VIDEO_BUMPER', description: 'Short unskippable in-stream video ads.', index: 8 }, + { s: 'VIDEO_TRUE_VIEW_IN_STREAM', description: 'TrueView (skippable) in-stream video ads.', index: 9 }, + { s: 'VIDEO_TRUE_VIEW_IN_DISPLAY', description: 'TrueView in-display video ads.', index: 10 }, + { s: 'VIDEO_NON_SKIPPABLE_IN_STREAM', description: 'Unskippable in-stream video ads.', index: 11 }, + { s: 'VIDEO_OUTSTREAM', description: 'Outstream video ads.', index: 12 }, + { s: 'SEARCH_DYNAMIC_ADS', description: 'Ad group type for Dynamic Search Ads ad groups.', index: 13 }, { s: 'SHOPPING_COMPARISON_LISTING_ADS', description: 'The type for ad groups in Shopping Comparison Listing campaigns.', + index: 14, }, - { s: 'PROMOTED_HOTEL_ADS', description: 'The ad group type for Promoted Hotel ad groups.' }, + { s: 'PROMOTED_HOTEL_ADS', description: 'The ad group type for Promoted Hotel ad groups.', index: 15 }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group_ad/meta.js b/docs/content/entities/ad_group_ad/meta.js index 34f416b1..432fa19e 100644 --- a/docs/content/entities/ad_group_ad/meta.js +++ b/docs/content/entities/ad_group_ad/meta.js @@ -19,17 +19,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -43,17 +44,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -76,17 +78,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -109,17 +112,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -133,17 +137,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -178,21 +183,24 @@ module.exports = { _description: 'The call conversion behavior of this call only ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DISABLED', description: 'Call conversion action is disabled.' }, + { s: 'DISABLED', description: 'Call conversion action is disabled.', index: 2 }, { s: 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the\naccount level.', + index: 3, }, { s: 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the resource\n(call only ads/call extensions) level.', + index: 4, }, ], _type: 'enum', @@ -217,13 +225,13 @@ module.exports = { _description: 'The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the ad will be preferred over other ads when being displayed on a mobile device. The ad can still be displayed on other device types, e.g. if no other ads are available. If unspecified (no device preference), all devices are targeted. This is only supported by some ad types.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile devices with full browsers.' }, - { s: 'TABLET', description: 'Tablets with full browsers.' }, - { s: 'DESKTOP', description: 'Computers.' }, - { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.' }, - { s: 'OTHER', description: 'Other device types.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MOBILE', description: 'Mobile devices with full browsers.', index: 2 }, + { s: 'TABLET', description: 'Tablets with full browsers.', index: 3 }, + { s: 'DESKTOP', description: 'Computers.', index: 4 }, + { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.', index: 6 }, + { s: 'OTHER', description: 'Other device types.', index: 5 }, ], _type: 'enum', }, @@ -233,57 +241,67 @@ module.exports = { display_upload_product_type: { _description: 'The product type of this ad. See comments on the enum for details.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'HTML5_UPLOAD_AD', description: 'HTML5 upload ad. This product type requires the upload_media_bundle\nfield in DisplayUploadAdInfo to be set.', + index: 2, }, { s: 'DYNAMIC_HTML5_EDUCATION_AD', description: 'Dynamic HTML5 education ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in an education campaign.', + index: 3, }, { s: 'DYNAMIC_HTML5_FLIGHT_AD', description: 'Dynamic HTML5 flight ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a flight campaign.', + index: 4, }, { s: 'DYNAMIC_HTML5_HOTEL_RENTAL_AD', description: 'Dynamic HTML5 hotel and rental ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a hotel campaign.', + index: 5, }, { s: 'DYNAMIC_HTML5_JOB_AD', description: 'Dynamic HTML5 job ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a job campaign.', + index: 6, }, { s: 'DYNAMIC_HTML5_LOCAL_AD', description: 'Dynamic HTML5 local ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a local campaign.', + index: 7, }, { s: 'DYNAMIC_HTML5_REAL_ESTATE_AD', description: 'Dynamic HTML5 real estate ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a real estate campaign.', + index: 8, }, { s: 'DYNAMIC_HTML5_CUSTOM_AD', description: 'Dynamic HTML5 custom ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a custom campaign.', + index: 9, }, { s: 'DYNAMIC_HTML5_TRAVEL_AD', description: 'Dynamic HTML5 travel ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a travel campaign.', + index: 10, }, { s: 'DYNAMIC_HTML5_HOTEL_AD', description: 'Dynamic HTML5 hotel ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a hotel campaign.', + index: 11, }, ], _type: 'enum', @@ -326,13 +344,14 @@ module.exports = { os_type: { _description: 'The operating system targeted by this URL. Required.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'IOS', description: 'The Apple IOS operating system.' }, - { s: 'ANDROID', description: 'The Android operating system.' }, + { s: 'IOS', description: 'The Apple IOS operating system.', index: 2 }, + { s: 'ANDROID', description: 'The Android operating system.', index: 3 }, ], _type: 'enum', }, @@ -437,24 +456,25 @@ module.exports = { mime_type: { _description: 'The mime type of the image.', _enums: [ - { s: 'UNSPECIFIED', description: 'The mime type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The mime type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.' }, - { s: 'IMAGE_GIF', description: 'MIME type of image/gif.' }, - { s: 'IMAGE_PNG', description: 'MIME type of image/png.' }, - { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.' }, - { s: 'TEXT_HTML', description: 'MIME type of text/html.' }, - { s: 'PDF', description: 'MIME type of application/pdf.' }, - { s: 'MSWORD', description: 'MIME type of application/msword.' }, - { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.' }, - { s: 'RTF', description: 'MIME type of application/rtf.' }, - { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.' }, - { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.' }, - { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.' }, + { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.', index: 2 }, + { s: 'IMAGE_GIF', description: 'MIME type of image/gif.', index: 3 }, + { s: 'IMAGE_PNG', description: 'MIME type of image/png.', index: 4 }, + { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.', index: 5 }, + { s: 'TEXT_HTML', description: 'MIME type of text/html.', index: 6 }, + { s: 'PDF', description: 'MIME type of application/pdf.', index: 7 }, + { s: 'MSWORD', description: 'MIME type of application/msword.', index: 8 }, + { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.', index: 9 }, + { s: 'RTF', description: 'MIME type of application/rtf.', index: 10 }, + { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.', index: 11 }, + { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.', index: 12 }, + { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.', index: 13 }, ], _type: 'enum', }, @@ -476,16 +496,17 @@ module.exports = { app_store: { _description: 'The app store the mobile app is available in.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'APPLE_APP_STORE', description: 'Apple iTunes.' }, - { s: 'GOOGLE_PLAY', description: 'Google Play.' }, - { s: 'WINDOWS_STORE', description: 'Windows Store.' }, - { s: 'WINDOWS_PHONE_STORE', description: 'Windows Phone Store.' }, - { s: 'CN_APP_STORE', description: 'The app is hosted in a Chinese app store.' }, + { s: 'APPLE_APP_STORE', description: 'Apple iTunes.', index: 2 }, + { s: 'GOOGLE_PLAY', description: 'Google Play.', index: 3 }, + { s: 'WINDOWS_STORE', description: 'Windows Store.', index: 4 }, + { s: 'WINDOWS_PHONE_STORE', description: 'Windows Phone Store.', index: 5 }, + { s: 'CN_APP_STORE', description: 'The app is hosted in a Chinese app store.', index: 6 }, ], _type: 'enum', }, @@ -512,14 +533,15 @@ module.exports = { format_setting: { _description: 'Specifies which format the ad will be served in. Default is ALL_FORMATS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ALL_FORMATS', description: 'Text, image and native formats.' }, - { s: 'NON_NATIVE', description: 'Text and image formats.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ALL_FORMATS', description: 'Text, image and native formats.', index: 2 }, + { s: 'NON_NATIVE', description: 'Text and image formats.', index: 3 }, { s: 'NATIVE', description: 'Native format, i.e. the format rendering is controlled by the publisher\nand not by Google.', + index: 4, }, ], _type: 'enum', @@ -593,17 +615,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -612,14 +635,15 @@ module.exports = { format_setting: { _description: 'Specifies which format the ad will be served in. Default is ALL_FORMATS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ALL_FORMATS', description: 'Text, image and native formats.' }, - { s: 'NON_NATIVE', description: 'Text and image formats.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ALL_FORMATS', description: 'Text, image and native formats.', index: 2 }, + { s: 'NON_NATIVE', description: 'Text and image formats.', index: 3 }, { s: 'NATIVE', description: 'Native format, i.e. the format rendering is controlled by the publisher\nand not by Google.', + index: 4, }, ], _type: 'enum', @@ -632,17 +656,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -660,17 +685,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -722,17 +748,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -746,17 +773,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -790,12 +818,13 @@ module.exports = { _description: 'Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AD_VARIATIONS', description: 'Generated ad variations experiment ad.' }, + { s: 'AD_VARIATIONS', description: 'Generated ad variations experiment ad.', index: 2 }, ], _type: 'enum', }, @@ -813,37 +842,52 @@ module.exports = { type: { _description: 'Output only. The type of ad.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'TEXT_AD', description: 'The ad is a text ad.' }, - { s: 'EXPANDED_TEXT_AD', description: 'The ad is an expanded text ad.' }, - { s: 'CALL_ONLY_AD', description: 'The ad is a call only ad.' }, - { s: 'EXPANDED_DYNAMIC_SEARCH_AD', description: 'The ad is an expanded dynamic search ad.' }, - { s: 'HOTEL_AD', description: 'The ad is a hotel ad.' }, - { s: 'SHOPPING_SMART_AD', description: 'The ad is a Smart Shopping ad.' }, - { s: 'SHOPPING_PRODUCT_AD', description: 'The ad is a standard Shopping ad.' }, - { s: 'VIDEO_AD', description: 'The ad is a video ad.' }, - { s: 'GMAIL_AD', description: 'This ad is a Gmail ad.' }, - { s: 'IMAGE_AD', description: 'This ad is an Image ad.' }, - { s: 'RESPONSIVE_SEARCH_AD', description: 'The ad is a responsive search ad.' }, - { s: 'LEGACY_RESPONSIVE_DISPLAY_AD', description: 'The ad is a legacy responsive display ad.' }, - { s: 'APP_AD', description: 'The ad is an app ad.' }, - { s: 'LEGACY_APP_INSTALL_AD', description: 'The ad is a legacy app install ad.' }, - { s: 'RESPONSIVE_DISPLAY_AD', description: 'The ad is a responsive display ad.' }, + { s: 'TEXT_AD', description: 'The ad is a text ad.', index: 2 }, + { s: 'EXPANDED_TEXT_AD', description: 'The ad is an expanded text ad.', index: 3 }, + { s: 'CALL_ONLY_AD', description: 'The ad is a call only ad.', index: 6 }, + { + s: 'EXPANDED_DYNAMIC_SEARCH_AD', + description: 'The ad is an expanded dynamic search ad.', + index: 7, + }, + { s: 'HOTEL_AD', description: 'The ad is a hotel ad.', index: 8 }, + { s: 'SHOPPING_SMART_AD', description: 'The ad is a Smart Shopping ad.', index: 9 }, + { s: 'SHOPPING_PRODUCT_AD', description: 'The ad is a standard Shopping ad.', index: 10 }, + { s: 'VIDEO_AD', description: 'The ad is a video ad.', index: 12 }, + { s: 'GMAIL_AD', description: 'This ad is a Gmail ad.', index: 13 }, + { s: 'IMAGE_AD', description: 'This ad is an Image ad.', index: 14 }, + { s: 'RESPONSIVE_SEARCH_AD', description: 'The ad is a responsive search ad.', index: 15 }, + { + s: 'LEGACY_RESPONSIVE_DISPLAY_AD', + description: 'The ad is a legacy responsive display ad.', + index: 16, + }, + { s: 'APP_AD', description: 'The ad is an app ad.', index: 17 }, + { s: 'LEGACY_APP_INSTALL_AD', description: 'The ad is a legacy app install ad.', index: 18 }, + { s: 'RESPONSIVE_DISPLAY_AD', description: 'The ad is a responsive display ad.', index: 19 }, { s: 'HTML5_UPLOAD_AD', description: 'The ad is a display upload ad with the HTML5_UPLOAD_AD product type.', + index: 21, }, { s: 'DYNAMIC_HTML5_AD', description: 'The ad is a display upload ad with one of the DYNAMIC_HTML5_* product\ntypes.', + index: 22, + }, + { s: 'APP_ENGAGEMENT_AD', description: 'The ad is an app engagement ad.', index: 23 }, + { + s: 'SHOPPING_COMPARISON_LISTING_AD', + description: 'The ad is a Shopping Comparison Listing ad.', + index: 24, }, - { s: 'APP_ENGAGEMENT_AD', description: 'The ad is an app engagement ad.' }, - { s: 'SHOPPING_COMPARISON_LISTING_AD', description: 'The ad is a Shopping Comparison Listing ad.' }, ], _type: 'enum', }, @@ -927,14 +971,18 @@ module.exports = { ad_strength: { _description: 'Output only. Overall ad strength for this ad group ad.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'PENDING', description: 'The ad strength is currently pending.' }, - { s: 'NO_ADS', description: 'No ads could be generated.' }, - { s: 'POOR', description: 'Poor strength.' }, - { s: 'AVERAGE', description: 'Average strength.' }, - { s: 'GOOD', description: 'Good strength.' }, - { s: 'EXCELLENT', description: 'Excellent strength.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'PENDING', description: 'The ad strength is currently pending.', index: 2 }, + { s: 'NO_ADS', description: 'No ads could be generated.', index: 3 }, + { s: 'POOR', description: 'Poor strength.', index: 4 }, + { s: 'AVERAGE', description: 'Average strength.', index: 5 }, + { s: 'GOOD', description: 'Good strength.', index: 6 }, + { s: 'EXCELLENT', description: 'Excellent strength.', index: 7 }, ], _type: 'enum', }, @@ -944,19 +992,21 @@ module.exports = { _description: 'Output only. The overall approval status of this ad, calculated based on the status of its individual policy topic entries.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'DISAPPROVED', description: 'Will not serve.' }, - { s: 'APPROVED_LIMITED', description: 'Serves with restrictions.' }, - { s: 'APPROVED', description: 'Serves without restrictions.' }, + { s: 'DISAPPROVED', description: 'Will not serve.', index: 2 }, + { s: 'APPROVED_LIMITED', description: 'Serves with restrictions.', index: 3 }, + { s: 'APPROVED', description: 'Serves without restrictions.', index: 4 }, { s: 'AREA_OF_INTEREST_ONLY', description: 'Will not serve in targeted countries, but may serve for users who are\nsearching for information about the targeted countries.', + index: 5, }, ], _type: 'enum', @@ -1036,35 +1086,39 @@ module.exports = { device: { _description: 'The type of device that failed to load the URL.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'DESKTOP', description: "Landing page doesn't work on desktop device." }, - { s: 'ANDROID', description: "Landing page doesn't work on Android device." }, - { s: 'IOS', description: "Landing page doesn't work on iOS device." }, + { s: 'DESKTOP', description: "Landing page doesn't work on desktop device.", index: 2 }, + { s: 'ANDROID', description: "Landing page doesn't work on Android device.", index: 3 }, + { s: 'IOS', description: "Landing page doesn't work on iOS device.", index: 4 }, ], _type: 'enum', }, dns_error_type: { _description: 'The type of DNS error.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, { s: 'HOSTNAME_NOT_FOUND', description: 'Host name not found in DNS when fetching landing page.', + index: 2, }, { s: 'GOOGLE_CRAWLER_DNS_ISSUE', description: "Google internal crawler issue when communicating with DNS. This error\ndoesn't mean the landing page doesn't work. Google will recrawl the\nlanding page.", + index: 3, }, ], _type: 'enum', @@ -1113,27 +1167,35 @@ module.exports = { type: { _description: 'Describes the negative or positive effect this policy will have on serving.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, + }, + { s: 'PROHIBITED', description: 'The resource will not be served.', index: 2 }, + { + s: 'LIMITED', + description: 'The resource will not be served under some circumstances.', + index: 4, }, - { s: 'PROHIBITED', description: 'The resource will not be served.' }, - { s: 'LIMITED', description: 'The resource will not be served under some circumstances.' }, { s: 'FULLY_LIMITED', description: 'The resource cannot serve at all because of the current targeting\ncriteria.', + index: 8, }, { s: 'DESCRIPTIVE', description: 'May be of interest, but does not limit how the resource is served.', + index: 5, }, - { s: 'BROADENING', description: 'Could increase coverage beyond normal.' }, + { s: 'BROADENING', description: 'Could increase coverage beyond normal.', index: 6 }, { s: 'AREA_OF_INTEREST_ONLY', description: 'Constrained for all targeted countries, but may serve in other countries\nthrough area of interest.', + index: 7, }, ], _type: 'enum', @@ -1142,23 +1204,30 @@ module.exports = { review_status: { _description: 'Output only. Where in the review process this ad is.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, + }, + { s: 'REVIEW_IN_PROGRESS', description: 'Currently under review.', index: 2 }, + { + s: 'REVIEWED', + description: 'Primary review complete. Other reviews may be continuing.', + index: 3, }, - { s: 'REVIEW_IN_PROGRESS', description: 'Currently under review.' }, - { s: 'REVIEWED', description: 'Primary review complete. Other reviews may be continuing.' }, { s: 'UNDER_APPEAL', description: 'The resource has been resubmitted for approval or its policy decision has\nbeen appealed.', + index: 4, }, { s: 'ELIGIBLE_MAY_SERVE', description: 'The resource is eligible and may be serving but could still undergo\nfurther review.', + index: 5, }, ], _type: 'enum', @@ -1172,14 +1241,15 @@ module.exports = { status: { _description: 'The status of the ad.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'ENABLED', description: 'The ad group ad is enabled.' }, - { s: 'PAUSED', description: 'The ad group ad is paused.' }, - { s: 'REMOVED', description: 'The ad group ad is removed.' }, + { s: 'ENABLED', description: 'The ad group ad is enabled.', index: 2 }, + { s: 'PAUSED', description: 'The ad group ad is paused.', index: 3 }, + { s: 'REMOVED', description: 'The ad group ad is removed.', index: 4 }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group_bid_modifier/meta.js b/docs/content/entities/ad_group_bid_modifier/meta.js index caa64ec2..46714098 100644 --- a/docs/content/entities/ad_group_bid_modifier/meta.js +++ b/docs/content/entities/ad_group_bid_modifier/meta.js @@ -15,14 +15,23 @@ module.exports = { bid_modifier_source: { _description: 'Output only. Bid modifier source.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN', description: 'The bid modifier is specified at the campaign level, on the campaign\nlevel criterion.', + index: 2, + }, + { + s: 'AD_GROUP', + description: 'The bid modifier is specified (overridden) at the ad group level.', + index: 3, }, - { s: 'AD_GROUP', description: 'The bid modifier is specified (overridden) at the ad group level.' }, ], _type: 'enum', }, @@ -36,13 +45,13 @@ module.exports = { type: { _description: 'Type of the device.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile devices with full browsers.' }, - { s: 'TABLET', description: 'Tablets with full browsers.' }, - { s: 'DESKTOP', description: 'Computers.' }, - { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.' }, - { s: 'OTHER', description: 'Other device types.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MOBILE', description: 'Mobile devices with full browsers.', index: 2 }, + { s: 'TABLET', description: 'Tablets with full browsers.', index: 3 }, + { s: 'DESKTOP', description: 'Computers.', index: 4 }, + { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.', index: 6 }, + { s: 'OTHER', description: 'Other device types.', index: 5 }, ], _type: 'enum', }, @@ -59,15 +68,15 @@ module.exports = { day_of_week: { _description: 'The day of the week.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MONDAY', description: 'Monday.' }, - { s: 'TUESDAY', description: 'Tuesday.' }, - { s: 'WEDNESDAY', description: 'Wednesday.' }, - { s: 'THURSDAY', description: 'Thursday.' }, - { s: 'FRIDAY', description: 'Friday.' }, - { s: 'SATURDAY', description: 'Saturday.' }, - { s: 'SUNDAY', description: 'Sunday.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MONDAY', description: 'Monday.', index: 2 }, + { s: 'TUESDAY', description: 'Tuesday.', index: 3 }, + { s: 'WEDNESDAY', description: 'Wednesday.', index: 4 }, + { s: 'THURSDAY', description: 'Thursday.', index: 5 }, + { s: 'FRIDAY', description: 'Friday.', index: 6 }, + { s: 'SATURDAY', description: 'Saturday.', index: 7 }, + { s: 'SUNDAY', description: 'Sunday.', index: 8 }, ], _type: 'enum', }, @@ -78,13 +87,14 @@ module.exports = { type: { _description: 'Type of the hotel date selection', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DEFAULT_SELECTION', description: 'Dates selected by default.' }, - { s: 'USER_SELECTED', description: 'Dates selected by the user.' }, + { s: 'DEFAULT_SELECTION', description: 'Dates selected by default.', index: 50 }, + { s: 'USER_SELECTED', description: 'Dates selected by the user.', index: 51 }, ], _type: 'enum', }, @@ -101,9 +111,9 @@ module.exports = { type: { _description: 'Type of the preferred content.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'YOUTUBE_TOP_CONTENT', description: 'Represents top content on YouTube.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'YOUTUBE_TOP_CONTENT', description: 'Represents top content on YouTube.', index: 400 }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group_criterion/meta.js b/docs/content/entities/ad_group_criterion/meta.js index 5c67492e..cb22c77b 100644 --- a/docs/content/entities/ad_group_criterion/meta.js +++ b/docs/content/entities/ad_group_criterion/meta.js @@ -8,18 +8,19 @@ module.exports = { type: { _description: 'Type of the age range.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AGE_RANGE_18_24', description: 'Between 18 and 24 years old.' }, - { s: 'AGE_RANGE_25_34', description: 'Between 25 and 34 years old.' }, - { s: 'AGE_RANGE_35_44', description: 'Between 35 and 44 years old.' }, - { s: 'AGE_RANGE_45_54', description: 'Between 45 and 54 years old.' }, - { s: 'AGE_RANGE_55_64', description: 'Between 55 and 64 years old.' }, - { s: 'AGE_RANGE_65_UP', description: '65 years old and beyond.' }, - { s: 'AGE_RANGE_UNDETERMINED', description: 'Undetermined age range.' }, + { s: 'AGE_RANGE_18_24', description: 'Between 18 and 24 years old.', index: 503001 }, + { s: 'AGE_RANGE_25_34', description: 'Between 25 and 34 years old.', index: 503002 }, + { s: 'AGE_RANGE_35_44', description: 'Between 35 and 44 years old.', index: 503003 }, + { s: 'AGE_RANGE_45_54', description: 'Between 45 and 54 years old.', index: 503004 }, + { s: 'AGE_RANGE_55_64', description: 'Between 55 and 64 years old.', index: 503005 }, + { s: 'AGE_RANGE_65_UP', description: '65 years old and beyond.', index: 503006 }, + { s: 'AGE_RANGE_UNDETERMINED', description: 'Undetermined age range.', index: 503999 }, ], _type: 'enum', }, @@ -30,12 +31,13 @@ module.exports = { type: { _description: 'Type of the app payment model.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'PAID', description: 'Represents paid-for apps.' }, + { s: 'PAID', description: 'Represents paid-for apps.', index: 30 }, ], _type: 'enum', }, @@ -43,12 +45,12 @@ module.exports = { approval_status: { _description: 'Output only. Approval status of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'APPROVED', description: 'Approved.' }, - { s: 'DISAPPROVED', description: 'Disapproved.' }, - { s: 'PENDING_REVIEW', description: 'Pending Review.' }, - { s: 'UNDER_REVIEW', description: 'Under review.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'APPROVED', description: 'Approved.', index: 2 }, + { s: 'DISAPPROVED', description: 'Disapproved.', index: 3 }, + { s: 'PENDING_REVIEW', description: 'Pending Review.', index: 4 }, + { s: 'UNDER_REVIEW', description: 'Under review.', index: 5 }, ], _type: 'enum', }, @@ -81,14 +83,23 @@ module.exports = { effective_cpc_bid_source: { _description: 'Output only. Source of the effective CPC bid.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN_BIDDING_STRATEGY', description: 'Effective bid or target is inherited from campaign bidding strategy.', + index: 5, + }, + { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.', index: 6 }, + { + s: 'AD_GROUP_CRITERION', + description: 'The bid or target is defined on the ad group criterion.', + index: 7, }, - { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.' }, - { s: 'AD_GROUP_CRITERION', description: 'The bid or target is defined on the ad group criterion.' }, ], _type: 'enum', }, @@ -99,14 +110,23 @@ module.exports = { effective_cpm_bid_source: { _description: 'Output only. Source of the effective CPM bid.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN_BIDDING_STRATEGY', description: 'Effective bid or target is inherited from campaign bidding strategy.', + index: 5, + }, + { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.', index: 6 }, + { + s: 'AD_GROUP_CRITERION', + description: 'The bid or target is defined on the ad group criterion.', + index: 7, }, - { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.' }, - { s: 'AD_GROUP_CRITERION', description: 'The bid or target is defined on the ad group criterion.' }, ], _type: 'enum', }, @@ -117,14 +137,23 @@ module.exports = { effective_cpv_bid_source: { _description: 'Output only. Source of the effective CPV bid.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN_BIDDING_STRATEGY', description: 'Effective bid or target is inherited from campaign bidding strategy.', + index: 5, + }, + { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.', index: 6 }, + { + s: 'AD_GROUP_CRITERION', + description: 'The bid or target is defined on the ad group criterion.', + index: 7, }, - { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.' }, - { s: 'AD_GROUP_CRITERION', description: 'The bid or target is defined on the ad group criterion.' }, ], _type: 'enum', }, @@ -135,14 +164,23 @@ module.exports = { effective_percent_cpc_bid_source: { _description: 'Output only. Source of the effective Percent CPC bid.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CAMPAIGN_BIDDING_STRATEGY', description: 'Effective bid or target is inherited from campaign bidding strategy.', + index: 5, + }, + { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.', index: 6 }, + { + s: 'AD_GROUP_CRITERION', + description: 'The bid or target is defined on the ad group criterion.', + index: 7, }, - { s: 'AD_GROUP', description: 'The bid or target is defined on the ad group.' }, - { s: 'AD_GROUP_CRITERION', description: 'The bid or target is defined on the ad group criterion.' }, ], _type: 'enum', }, @@ -161,14 +199,15 @@ module.exports = { type: { _description: 'Type of the gender.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'MALE', description: 'Male.' }, - { s: 'FEMALE', description: 'Female.' }, - { s: 'UNDETERMINED', description: 'Undetermined gender.' }, + { s: 'MALE', description: 'Male.', index: 10 }, + { s: 'FEMALE', description: 'Female.', index: 11 }, + { s: 'UNDETERMINED', description: 'Undetermined gender.', index: 20 }, ], _type: 'enum', }, @@ -179,18 +218,19 @@ module.exports = { type: { _description: 'Type of the income range.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INCOME_RANGE_0_50', description: '0%-50%.' }, - { s: 'INCOME_RANGE_50_60', description: '50% to 60%.' }, - { s: 'INCOME_RANGE_60_70', description: '60% to 70%.' }, - { s: 'INCOME_RANGE_70_80', description: '70% to 80%.' }, - { s: 'INCOME_RANGE_80_90', description: '80% to 90%.' }, - { s: 'INCOME_RANGE_90_UP', description: 'Greater than 90%.' }, - { s: 'INCOME_RANGE_UNDETERMINED', description: 'Undetermined income range.' }, + { s: 'INCOME_RANGE_0_50', description: '0%-50%.', index: 510001 }, + { s: 'INCOME_RANGE_50_60', description: '50% to 60%.', index: 510002 }, + { s: 'INCOME_RANGE_60_70', description: '60% to 70%.', index: 510003 }, + { s: 'INCOME_RANGE_70_80', description: '70% to 80%.', index: 510004 }, + { s: 'INCOME_RANGE_80_90', description: '80% to 90%.', index: 510005 }, + { s: 'INCOME_RANGE_90_UP', description: 'Greater than 90%.', index: 510006 }, + { s: 'INCOME_RANGE_UNDETERMINED', description: 'Undetermined income range.', index: 510000 }, ], _type: 'enum', }, @@ -201,14 +241,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -258,16 +299,17 @@ module.exports = { level: { _description: 'Level of the product bidding category.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'LEVEL1', description: 'Level 1.' }, - { s: 'LEVEL2', description: 'Level 2.' }, - { s: 'LEVEL3', description: 'Level 3.' }, - { s: 'LEVEL4', description: 'Level 4.' }, - { s: 'LEVEL5', description: 'Level 5.' }, + { s: 'LEVEL1', description: 'Level 1.', index: 7 }, + { s: 'LEVEL2', description: 'Level 2.', index: 8 }, + { s: 'LEVEL3', description: 'Level 3.', index: 9 }, + { s: 'LEVEL4', description: 'Level 4.', index: 10 }, + { s: 'LEVEL5', description: 'Level 5.', index: 11 }, ], _type: 'enum', }, @@ -281,13 +323,14 @@ module.exports = { channel: { _description: 'Value of the locality.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'ONLINE', description: 'The item is sold online.' }, - { s: 'LOCAL', description: 'The item is sold in local stores.' }, + { s: 'ONLINE', description: 'The item is sold online.', index: 2 }, + { s: 'LOCAL', description: 'The item is sold in local stores.', index: 3 }, ], _type: 'enum', }, @@ -297,20 +340,23 @@ module.exports = { channel_exclusivity: { _description: 'Value of the availability.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'SINGLE_CHANNEL', description: 'The item is sold through one channel only, either local stores or online\nas indicated by its ProductChannel.', + index: 2, }, { s: 'MULTI_CHANNEL', description: 'The item is matched to its online or local stores counterpart, indicating\nit is available for purchase in both ShoppingProductChannels.', + index: 3, }, ], _type: 'enum', @@ -321,14 +367,15 @@ module.exports = { condition: { _description: 'Value of the condition.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'NEW', description: 'The product condition is new.' }, - { s: 'REFURBISHED', description: 'The product condition is refurbished.' }, - { s: 'USED', description: 'The product condition is used.' }, + { s: 'NEW', description: 'The product condition is new.', index: 3 }, + { s: 'REFURBISHED', description: 'The product condition is refurbished.', index: 4 }, + { s: 'USED', description: 'The product condition is used.', index: 5 }, ], _type: 'enum', }, @@ -338,16 +385,17 @@ module.exports = { index: { _description: 'Indicates the index of the custom attribute.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INDEX0', description: 'First product custom attribute.' }, - { s: 'INDEX1', description: 'Second product custom attribute.' }, - { s: 'INDEX2', description: 'Third product custom attribute.' }, - { s: 'INDEX3', description: 'Fourth product custom attribute.' }, - { s: 'INDEX4', description: 'Fifth product custom attribute.' }, + { s: 'INDEX0', description: 'First product custom attribute.', index: 7 }, + { s: 'INDEX1', description: 'Second product custom attribute.', index: 8 }, + { s: 'INDEX2', description: 'Third product custom attribute.', index: 9 }, + { s: 'INDEX3', description: 'Fourth product custom attribute.', index: 10 }, + { s: 'INDEX4', description: 'Fifth product custom attribute.', index: 11 }, ], _type: 'enum', }, @@ -362,16 +410,17 @@ module.exports = { level: { _description: 'Level of the type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'LEVEL1', description: 'Level 1.' }, - { s: 'LEVEL2', description: 'Level 2.' }, - { s: 'LEVEL3', description: 'Level 3.' }, - { s: 'LEVEL4', description: 'Level 4.' }, - { s: 'LEVEL5', description: 'Level 5.' }, + { s: 'LEVEL1', description: 'Level 1.', index: 7 }, + { s: 'LEVEL2', description: 'Level 2.', index: 8 }, + { s: 'LEVEL3', description: 'Level 3.', index: 9 }, + { s: 'LEVEL4', description: 'Level 4.', index: 10 }, + { s: 'LEVEL5', description: 'Level 5.', index: 11 }, ], _type: 'enum', }, @@ -389,17 +438,19 @@ module.exports = { type: { _description: 'Type of the listing group.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'SUBDIVISION', description: 'Subdivision of products along some listing dimension. These nodes\nare not used by serving to target listing entries, but is purely\nto define the structure of the tree.', + index: 2, }, - { s: 'UNIT', description: 'Listing group unit that defines a bid.' }, + { s: 'UNIT', description: 'Listing group unit that defines a bid.', index: 3 }, ], _type: 'enum', }, @@ -433,14 +484,15 @@ module.exports = { type: { _description: 'Type of the parental status.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'PARENT', description: 'Parent.' }, - { s: 'NOT_A_PARENT', description: 'Not a parent.' }, - { s: 'UNDETERMINED', description: 'Undetermined parental status.' }, + { s: 'PARENT', description: 'Parent.', index: 300 }, + { s: 'NOT_A_PARENT', description: 'Not a parent.', index: 301 }, + { s: 'UNDETERMINED', description: 'Undetermined parental status.', index: 302 }, ], _type: 'enum', }, @@ -488,28 +540,30 @@ module.exports = { creative_quality_score: { _description: 'Output only. The performance of the ad compared to other advertisers.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'BELOW_AVERAGE', description: 'Quality of the creative is below average.' }, - { s: 'AVERAGE', description: 'Quality of the creative is average.' }, - { s: 'ABOVE_AVERAGE', description: 'Quality of the creative is above average.' }, + { s: 'BELOW_AVERAGE', description: 'Quality of the creative is below average.', index: 2 }, + { s: 'AVERAGE', description: 'Quality of the creative is average.', index: 3 }, + { s: 'ABOVE_AVERAGE', description: 'Quality of the creative is above average.', index: 4 }, ], _type: 'enum', }, post_click_quality_score: { _description: 'Output only. The quality score of the landing page.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'BELOW_AVERAGE', description: 'Quality of the creative is below average.' }, - { s: 'AVERAGE', description: 'Quality of the creative is average.' }, - { s: 'ABOVE_AVERAGE', description: 'Quality of the creative is above average.' }, + { s: 'BELOW_AVERAGE', description: 'Quality of the creative is below average.', index: 2 }, + { s: 'AVERAGE', description: 'Quality of the creative is average.', index: 3 }, + { s: 'ABOVE_AVERAGE', description: 'Quality of the creative is above average.', index: 4 }, ], _type: 'enum', }, @@ -521,14 +575,15 @@ module.exports = { search_predicted_ctr: { _description: 'Output only. The click-through rate compared to that of other advertisers.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'BELOW_AVERAGE', description: 'Quality of the creative is below average.' }, - { s: 'AVERAGE', description: 'Quality of the creative is average.' }, - { s: 'ABOVE_AVERAGE', description: 'Quality of the creative is above average.' }, + { s: 'BELOW_AVERAGE', description: 'Quality of the creative is below average.', index: 2 }, + { s: 'AVERAGE', description: 'Quality of the creative is average.', index: 3 }, + { s: 'ABOVE_AVERAGE', description: 'Quality of the creative is above average.', index: 4 }, ], _type: 'enum', }, @@ -541,24 +596,25 @@ module.exports = { status: { _description: 'The status of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'ENABLED', description: 'The ad group criterion is enabled.' }, - { s: 'PAUSED', description: 'The ad group criterion is paused.' }, - { s: 'REMOVED', description: 'The ad group criterion is removed.' }, + { s: 'ENABLED', description: 'The ad group criterion is enabled.', index: 2 }, + { s: 'PAUSED', description: 'The ad group criterion is paused.', index: 3 }, + { s: 'REMOVED', description: 'The ad group criterion is removed.', index: 4 }, ], _type: 'enum', }, system_serving_status: { _description: 'Output only. Serving status of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ELIGIBLE', description: 'Eligible.' }, - { s: 'RARELY_SERVED', description: 'Low search volume.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ELIGIBLE', description: 'Eligible.', index: 2 }, + { s: 'RARELY_SERVED', description: 'Low search volume.', index: 3 }, ], _type: 'enum', }, @@ -576,38 +632,46 @@ module.exports = { type: { _description: 'Output only. The type of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'." }, - { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'" }, - { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.' }, - { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.' }, - { s: 'DEVICE', description: 'Devices to target.' }, - { s: 'LOCATION', description: 'Locations to target.' }, - { s: 'LISTING_GROUP', description: 'Listing groups to target.' }, - { s: 'AD_SCHEDULE', description: 'Ad Schedule.' }, - { s: 'AGE_RANGE', description: 'Age range.' }, - { s: 'GENDER', description: 'Gender.' }, - { s: 'INCOME_RANGE', description: 'Income Range.' }, - { s: 'PARENTAL_STATUS', description: 'Parental status.' }, - { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.' }, - { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.' }, - { s: 'USER_LIST', description: 'User list.' }, - { s: 'PROXIMITY', description: 'Proximity.' }, - { s: 'TOPIC', description: 'A topic target on the display network (e.g. "Pets & Animals").' }, - { s: 'LISTING_SCOPE', description: 'Listing scope to target.' }, - { s: 'LANGUAGE', description: 'Language.' }, - { s: 'IP_BLOCK', description: 'IpBlock.' }, - { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.' }, - { s: 'CARRIER', description: 'Carrier.' }, - { s: 'USER_INTEREST', description: 'A category the user is interested in.' }, - { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.' }, - { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.' }, - { s: 'APP_PAYMENT_MODEL', description: 'App payment model.' }, - { s: 'MOBILE_DEVICE', description: 'Mobile device.' }, - { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.' }, - { s: 'CUSTOM_INTENT', description: 'Custom intent.' }, - { s: 'LOCATION_GROUP', description: 'Location group.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'.", index: 2 }, + { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'", index: 3 }, + { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.', index: 4 }, + { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.', index: 5 }, + { s: 'DEVICE', description: 'Devices to target.', index: 6 }, + { s: 'LOCATION', description: 'Locations to target.', index: 7 }, + { s: 'LISTING_GROUP', description: 'Listing groups to target.', index: 8 }, + { s: 'AD_SCHEDULE', description: 'Ad Schedule.', index: 9 }, + { s: 'AGE_RANGE', description: 'Age range.', index: 10 }, + { s: 'GENDER', description: 'Gender.', index: 11 }, + { s: 'INCOME_RANGE', description: 'Income Range.', index: 12 }, + { s: 'PARENTAL_STATUS', description: 'Parental status.', index: 13 }, + { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.', index: 14 }, + { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.', index: 15 }, + { s: 'USER_LIST', description: 'User list.', index: 16 }, + { s: 'PROXIMITY', description: 'Proximity.', index: 17 }, + { + s: 'TOPIC', + description: 'A topic target on the display network (e.g. "Pets & Animals").', + index: 18, + }, + { s: 'LISTING_SCOPE', description: 'Listing scope to target.', index: 19 }, + { s: 'LANGUAGE', description: 'Language.', index: 20 }, + { s: 'IP_BLOCK', description: 'IpBlock.', index: 21 }, + { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.', index: 22 }, + { s: 'CARRIER', description: 'Carrier.', index: 23 }, + { s: 'USER_INTEREST', description: 'A category the user is interested in.', index: 24 }, + { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.', index: 25 }, + { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.', index: 26 }, + { s: 'APP_PAYMENT_MODEL', description: 'App payment model.', index: 27 }, + { s: 'MOBILE_DEVICE', description: 'Mobile device.', index: 28 }, + { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.', index: 29 }, + { s: 'CUSTOM_INTENT', description: 'Custom intent.', index: 30 }, + { s: 'LOCATION_GROUP', description: 'Location group.', index: 31 }, ], _type: 'enum', }, @@ -639,18 +703,32 @@ module.exports = { operand: { _description: 'Operand of webpage targeting condition.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'URL', description: 'Operand denoting a webpage URL targeting condition.', index: 2 }, + { + s: 'CATEGORY', + description: 'Operand denoting a webpage category targeting condition.', + index: 3, + }, + { + s: 'PAGE_TITLE', + description: 'Operand denoting a webpage title targeting condition.', + index: 4, + }, + { + s: 'PAGE_CONTENT', + description: 'Operand denoting a webpage content targeting condition.', + index: 5, }, - { s: 'URL', description: 'Operand denoting a webpage URL targeting condition.' }, - { s: 'CATEGORY', description: 'Operand denoting a webpage category targeting condition.' }, - { s: 'PAGE_TITLE', description: 'Operand denoting a webpage title targeting condition.' }, - { s: 'PAGE_CONTENT', description: 'Operand denoting a webpage content targeting condition.' }, { s: 'CUSTOM_LABEL', description: 'Operand denoting a webpage custom label targeting condition.', + index: 6, }, ], _type: 'enum', @@ -658,18 +736,21 @@ module.exports = { operator: { _description: 'Operator of webpage targeting condition.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'EQUALS', description: 'The argument web condition is equal to the compared web condition.', + index: 2, }, { s: 'CONTAINS', description: 'The argument web condition is part of the compared web condition.', + index: 3, }, ], _type: 'enum', diff --git a/docs/content/entities/ad_group_criterion_simulation/meta.js b/docs/content/entities/ad_group_criterion_simulation/meta.js index 4d316260..0bba61a5 100644 --- a/docs/content/entities/ad_group_criterion_simulation/meta.js +++ b/docs/content/entities/ad_group_criterion_simulation/meta.js @@ -34,17 +34,23 @@ module.exports = { modification_method: { _description: 'Output only. How the simulation modifies the field.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'UNIFORM', description: 'The values in a simulation were applied to all children of a given\nresource uniformly. Overrides on child resources were not respected.', + index: 2, }, { s: 'DEFAULT', description: 'The values in a simulation were applied to the given resource.\nOverrides on child resources were respected, and traffic estimates\ndo not include these resources.', + index: 3, }, ], _type: 'enum', @@ -61,12 +67,16 @@ module.exports = { type: { _description: 'Output only. The field that the simulation modifies.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CPC_BID', description: 'The simulation is for a cpc bid.' }, - { s: 'CPV_BID', description: 'The simulation is for a cpv bid.' }, - { s: 'TARGET_CPA', description: 'The simulation is for a cpa target.' }, - { s: 'BID_MODIFIER', description: 'The simulation is for a bid modifier.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CPC_BID', description: 'The simulation is for a cpc bid.', index: 2 }, + { s: 'CPV_BID', description: 'The simulation is for a cpv bid.', index: 3 }, + { s: 'TARGET_CPA', description: 'The simulation is for a cpa target.', index: 4 }, + { s: 'BID_MODIFIER', description: 'The simulation is for a bid modifier.', index: 5 }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group_extension_setting/meta.js b/docs/content/entities/ad_group_extension_setting/meta.js index 4211ad74..cc8193ee 100644 --- a/docs/content/entities/ad_group_extension_setting/meta.js +++ b/docs/content/entities/ad_group_extension_setting/meta.js @@ -9,16 +9,18 @@ module.exports = { device: { _description: 'The device for which the extensions will serve. Optional.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'MOBILE', description: 'Mobile. The extensions in the extension setting will only serve on\nmobile devices.', + index: 2, }, { s: 'DESKTOP', description: 'Desktop. The extensions in the extension setting will only serve on\ndesktop devices.', + index: 3, }, ], _type: 'enum', @@ -31,20 +33,24 @@ module.exports = { extension_type: { _description: 'Immutable. The extension type of the ad group extension setting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NONE', description: 'None.' }, - { s: 'APP', description: 'App.' }, - { s: 'CALL', description: 'Call.' }, - { s: 'CALLOUT', description: 'Callout.' }, - { s: 'MESSAGE', description: 'Message.' }, - { s: 'PRICE', description: 'Price.' }, - { s: 'PROMOTION', description: 'Promotion.' }, - { s: 'SITELINK', description: 'Sitelink.' }, - { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.' }, - { s: 'LOCATION', description: 'Location.' }, - { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.' }, - { s: 'HOTEL_CALLOUT', description: 'Hotel callout' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NONE', description: 'None.', index: 2 }, + { s: 'APP', description: 'App.', index: 3 }, + { s: 'CALL', description: 'Call.', index: 4 }, + { s: 'CALLOUT', description: 'Callout.', index: 5 }, + { s: 'MESSAGE', description: 'Message.', index: 6 }, + { s: 'PRICE', description: 'Price.', index: 7 }, + { s: 'PROMOTION', description: 'Promotion.', index: 8 }, + { s: 'SITELINK', description: 'Sitelink.', index: 10 }, + { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.', index: 11 }, + { s: 'LOCATION', description: 'Location.', index: 12 }, + { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.', index: 13 }, + { s: 'HOTEL_CALLOUT', description: 'Hotel callout', index: 15 }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group_feed/meta.js b/docs/content/entities/ad_group_feed/meta.js index fb74ad17..d2a3b9bc 100644 --- a/docs/content/entities/ad_group_feed/meta.js +++ b/docs/content/entities/ad_group_feed/meta.js @@ -20,10 +20,14 @@ module.exports = { status: { _description: 'Output only. Status of the ad group feed. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed link is enabled.' }, - { s: 'REMOVED', description: 'Feed link has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed link is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed link has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/ad_group_simulation/meta.js b/docs/content/entities/ad_group_simulation/meta.js index 897d6584..72c8c30a 100644 --- a/docs/content/entities/ad_group_simulation/meta.js +++ b/docs/content/entities/ad_group_simulation/meta.js @@ -49,17 +49,23 @@ module.exports = { modification_method: { _description: 'Output only. How the simulation modifies the field.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'UNIFORM', description: 'The values in a simulation were applied to all children of a given\nresource uniformly. Overrides on child resources were not respected.', + index: 2, }, { s: 'DEFAULT', description: 'The values in a simulation were applied to the given resource.\nOverrides on child resources were respected, and traffic estimates\ndo not include these resources.', + index: 3, }, ], _type: 'enum', @@ -101,12 +107,16 @@ module.exports = { type: { _description: 'Output only. The field that the simulation modifies.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CPC_BID', description: 'The simulation is for a cpc bid.' }, - { s: 'CPV_BID', description: 'The simulation is for a cpv bid.' }, - { s: 'TARGET_CPA', description: 'The simulation is for a cpa target.' }, - { s: 'BID_MODIFIER', description: 'The simulation is for a bid modifier.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CPC_BID', description: 'The simulation is for a cpc bid.', index: 2 }, + { s: 'CPV_BID', description: 'The simulation is for a cpv bid.', index: 3 }, + { s: 'TARGET_CPA', description: 'The simulation is for a cpa target.', index: 4 }, + { s: 'BID_MODIFIER', description: 'The simulation is for a bid modifier.', index: 5 }, ], _type: 'enum', }, diff --git a/docs/content/entities/asset/meta.js b/docs/content/entities/asset/meta.js index aedd2904..cf4e091d 100644 --- a/docs/content/entities/asset/meta.js +++ b/docs/content/entities/asset/meta.js @@ -16,24 +16,25 @@ module.exports = { mime_type: { _description: 'MIME type of the image asset.', _enums: [ - { s: 'UNSPECIFIED', description: 'The mime type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The mime type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.' }, - { s: 'IMAGE_GIF', description: 'MIME type of image/gif.' }, - { s: 'IMAGE_PNG', description: 'MIME type of image/png.' }, - { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.' }, - { s: 'TEXT_HTML', description: 'MIME type of text/html.' }, - { s: 'PDF', description: 'MIME type of application/pdf.' }, - { s: 'MSWORD', description: 'MIME type of application/msword.' }, - { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.' }, - { s: 'RTF', description: 'MIME type of application/rtf.' }, - { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.' }, - { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.' }, - { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.' }, + { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.', index: 2 }, + { s: 'IMAGE_GIF', description: 'MIME type of image/gif.', index: 3 }, + { s: 'IMAGE_PNG', description: 'MIME type of image/png.', index: 4 }, + { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.', index: 5 }, + { s: 'TEXT_HTML', description: 'MIME type of text/html.', index: 6 }, + { s: 'PDF', description: 'MIME type of application/pdf.', index: 7 }, + { s: 'MSWORD', description: 'MIME type of application/msword.', index: 8 }, + { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.', index: 9 }, + { s: 'RTF', description: 'MIME type of application/rtf.', index: 10 }, + { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.', index: 11 }, + { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.', index: 12 }, + { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.', index: 13 }, ], _type: 'enum', }, @@ -61,12 +62,16 @@ module.exports = { type: { _description: 'Output only. Type of the asset.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'YOUTUBE_VIDEO', description: 'YouTube video asset.' }, - { s: 'MEDIA_BUNDLE', description: 'Media bundle asset.' }, - { s: 'IMAGE', description: 'Image asset.' }, - { s: 'TEXT', description: 'Text asset.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'YOUTUBE_VIDEO', description: 'YouTube video asset.', index: 2 }, + { s: 'MEDIA_BUNDLE', description: 'Media bundle asset.', index: 3 }, + { s: 'IMAGE', description: 'Image asset.', index: 4 }, + { s: 'TEXT', description: 'Text asset.', index: 5 }, ], _type: 'enum', }, diff --git a/docs/content/entities/bidding_strategy/meta.js b/docs/content/entities/bidding_strategy/meta.js index 85bb8f01..4e20ddaa 100644 --- a/docs/content/entities/bidding_strategy/meta.js +++ b/docs/content/entities/bidding_strategy/meta.js @@ -30,13 +30,14 @@ module.exports = { status: { _description: 'Output only. The status of the bidding strategy. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'ENABLED', description: 'The bidding strategy is enabled.' }, - { s: 'REMOVED', description: 'The bidding strategy is removed.' }, + { s: 'ENABLED', description: 'The bidding strategy is enabled.', index: 2 }, + { s: 'REMOVED', description: 'The bidding strategy is removed.', index: 3 }, ], _type: 'enum', }, @@ -72,14 +73,15 @@ module.exports = { location: { _description: 'The targeted location on the search results page.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'ANYWHERE_ON_PAGE', description: 'Any location on the web page.' }, - { s: 'TOP_OF_PAGE', description: 'Top box of ads.' }, - { s: 'ABSOLUTE_TOP_OF_PAGE', description: 'Top slot in the top box of ads.' }, + { s: 'ANYWHERE_ON_PAGE', description: 'Any location on the web page.', index: 2 }, + { s: 'TOP_OF_PAGE', description: 'Top box of ads.', index: 3 }, + { s: 'ABSOLUTE_TOP_OF_PAGE', description: 'Top slot in the top box of ads.', index: 4 }, ], _type: 'enum', }, @@ -128,73 +130,94 @@ module.exports = { _description: 'Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'COMMISSION', description: 'Commission is an automatic bidding strategy in which the advertiser pays\na certain portion of the conversion value.', + index: 16, }, { s: 'ENHANCED_CPC', description: 'Enhanced CPC is a bidding strategy that raises bids for clicks\nthat seem more likely to lead to a conversion and lowers\nthem for clicks where they seem less likely.', + index: 2, }, - { s: 'MANUAL_CPC', description: 'Manual click based bidding where user pays per click.' }, + { s: 'MANUAL_CPC', description: 'Manual click based bidding where user pays per click.', index: 3 }, { s: 'MANUAL_CPM', description: 'Manual impression based bidding\nwhere user pays per thousand impressions.', + index: 4, + }, + { + s: 'MANUAL_CPV', + description: 'A bidding strategy that pays a configurable amount per video view.', + index: 13, }, - { s: 'MANUAL_CPV', description: 'A bidding strategy that pays a configurable amount per video view.' }, { s: 'MAXIMIZE_CONVERSIONS', description: 'A bidding strategy that automatically maximizes number of conversions\ngiven a daily budget.', + index: 10, }, { s: 'MAXIMIZE_CONVERSION_VALUE', description: 'An automated bidding strategy that automatically sets bids to maximize\nrevenue while spending your budget.', + index: 11, }, { s: 'PAGE_ONE_PROMOTED', description: 'Page-One Promoted bidding scheme, which sets max cpc bids to\ntarget impressions on page one or page one promoted slots on google.com.\nThis enum value is deprecated.', + index: 5, }, { s: 'PERCENT_CPC', description: 'Percent Cpc is bidding strategy where bids are a fraction of the\nadvertised price for some good or service.', + index: 12, }, { s: 'TARGET_CPA', description: 'Target CPA is an automated bid strategy that sets bids\nto help get as many conversions as possible\nat the target cost-per-acquisition (CPA) you set.', + index: 6, }, { s: 'TARGET_CPM', description: 'Target CPM is an automated bid strategy that sets bids to help get\nas many impressions as possible at the target cost per one thousand\nimpressions (CPM) you set.', + index: 14, }, { s: 'TARGET_IMPRESSION_SHARE', description: 'An automated bidding strategy that sets bids so that a certain percentage\nof search ads are shown at the top of the first page (or other targeted\nlocation).', + index: 15, }, { s: 'TARGET_OUTRANK_SHARE', description: 'Target Outrank Share is an automated bidding strategy that sets bids\nbased on the target fraction of auctions where the advertiser\nshould outrank a specific competitor.\nThis enum value is deprecated.', + index: 7, }, { s: 'TARGET_ROAS', description: 'Target ROAS is an automated bidding strategy\nthat helps you maximize revenue while averaging\na specific target Return On Average Spend (ROAS).', + index: 8, }, { s: 'TARGET_SPEND', description: 'Target Spend is an automated bid strategy that sets your bids\nto help get as many clicks as possible within your budget.', + index: 9, }, ], _type: 'enum', diff --git a/docs/content/entities/billing_setup/meta.js b/docs/content/entities/billing_setup/meta.js index 69057fbe..8fd712f9 100644 --- a/docs/content/entities/billing_setup/meta.js +++ b/docs/content/entities/billing_setup/meta.js @@ -9,10 +9,14 @@ module.exports = { end_time_type: { _description: 'Output only. The end time as a type. The only possible value is FOREVER.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'endTime', _type: 'enum', @@ -65,10 +69,14 @@ module.exports = { start_time_type: { _description: 'Immutable. The start time as a type. Only NOW is allowed.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NOW', description: 'As soon as possible.' }, - { s: 'FOREVER', description: 'An infinite point in the future.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NOW', description: 'As soon as possible.', index: 2 }, + { s: 'FOREVER', description: 'An infinite point in the future.', index: 3 }, ], _oneof: 'startTime', _type: 'enum', @@ -76,16 +84,25 @@ module.exports = { status: { _description: 'Output only. The status of the billing setup.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'PENDING', description: 'The billing setup is pending approval.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'PENDING', description: 'The billing setup is pending approval.', index: 2 }, { s: 'APPROVED_HELD', description: 'The billing setup has been approved but the corresponding first budget\nhas not. This can only occur for billing setups configured for monthly\ninvoicing.', + index: 3, + }, + { s: 'APPROVED', description: 'The billing setup has been approved.', index: 4 }, + { + s: 'CANCELLED', + description: 'The billing setup was cancelled by the user prior to approval.', + index: 5, }, - { s: 'APPROVED', description: 'The billing setup has been approved.' }, - { s: 'CANCELLED', description: 'The billing setup was cancelled by the user prior to approval.' }, ], _type: 'enum', }, diff --git a/docs/content/entities/campaign/meta.js b/docs/content/entities/campaign/meta.js index b801f0fe..a3be95d9 100644 --- a/docs/content/entities/campaign/meta.js +++ b/docs/content/entities/campaign/meta.js @@ -4,24 +4,31 @@ module.exports = { ad_serving_optimization_status: { _description: 'The ad serving optimization status of the campaign.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'OPTIMIZE', description: 'Ad serving is optimized based on CTR for the campaign.' }, + { s: 'OPTIMIZE', description: 'Ad serving is optimized based on CTR for the campaign.', index: 2 }, { s: 'CONVERSION_OPTIMIZE', description: 'Ad serving is optimized based on CTR * Conversion for the campaign. If\nthe campaign is not in the conversion optimizer bidding strategy, it will\ndefault to OPTIMIZED.', + index: 3, + }, + { + s: 'ROTATE', + description: 'Ads are rotated evenly for 90 days, then optimized for clicks.', + index: 4, }, - { s: 'ROTATE', description: 'Ads are rotated evenly for 90 days, then optimized for clicks.' }, { s: 'ROTATE_INDEFINITELY', description: 'Show lower performing ads more evenly with higher performing ads, and do\nnot optimize.', + index: 5, }, - { s: 'UNAVAILABLE', description: 'Ad serving optimization status is not available.' }, + { s: 'UNAVAILABLE', description: 'Ad serving optimization status is not available.', index: 6 }, ], _type: 'enum', }, @@ -29,29 +36,39 @@ module.exports = { _description: 'Immutable. Optional refinement to advertising_channel_type. Must be a valid sub-type of the parent channel type. Can be set only when creating campaigns. After campaign is created, the field can not be changed.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used as a return value only. Represents value unknown in this version.' }, - { s: 'SEARCH_MOBILE_APP', description: 'Mobile app campaigns for Search.' }, - { s: 'DISPLAY_MOBILE_APP', description: 'Mobile app campaigns for Display.' }, - { s: 'SEARCH_EXPRESS', description: 'AdWords express campaigns for search.' }, - { s: 'DISPLAY_EXPRESS', description: 'AdWords Express campaigns for display.' }, - { s: 'SHOPPING_SMART_ADS', description: 'Smart Shopping campaigns.' }, - { s: 'DISPLAY_GMAIL_AD', description: 'Gmail Ad campaigns.' }, - { s: 'DISPLAY_SMART_CAMPAIGN', description: 'Smart display campaigns.' }, - { s: 'VIDEO_OUTSTREAM', description: 'Video Outstream campaigns.' }, - { s: 'VIDEO_ACTION', description: 'Video TrueView for Action campaigns.' }, - { s: 'VIDEO_NON_SKIPPABLE', description: 'Video campaigns with non-skippable video ads.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used as a return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'SEARCH_MOBILE_APP', description: 'Mobile app campaigns for Search.', index: 2 }, + { s: 'DISPLAY_MOBILE_APP', description: 'Mobile app campaigns for Display.', index: 3 }, + { s: 'SEARCH_EXPRESS', description: 'AdWords express campaigns for search.', index: 4 }, + { s: 'DISPLAY_EXPRESS', description: 'AdWords Express campaigns for display.', index: 5 }, + { s: 'SHOPPING_SMART_ADS', description: 'Smart Shopping campaigns.', index: 6 }, + { s: 'DISPLAY_GMAIL_AD', description: 'Gmail Ad campaigns.', index: 7 }, + { s: 'DISPLAY_SMART_CAMPAIGN', description: 'Smart display campaigns.', index: 8 }, + { s: 'VIDEO_OUTSTREAM', description: 'Video Outstream campaigns.', index: 9 }, + { s: 'VIDEO_ACTION', description: 'Video TrueView for Action campaigns.', index: 10 }, + { s: 'VIDEO_NON_SKIPPABLE', description: 'Video campaigns with non-skippable video ads.', index: 11 }, { s: 'APP_CAMPAIGN', description: "App Campaign that allows you to easily promote your Android or iOS app\nacross Google's top properties including Search, Play, YouTube, and the\nGoogle Display Network.", + index: 12, }, { s: 'APP_CAMPAIGN_FOR_ENGAGEMENT', description: 'App Campaign for engagement, focused on driving re-engagement with the\napp across several of Google’s top properties including Search, YouTube,\nand the Google Display Network.', + index: 13, + }, + { + s: 'SHOPPING_COMPARISON_LISTING_ADS', + description: 'Shopping Comparison Listing campaigns.', + index: 15, }, - { s: 'SHOPPING_COMPARISON_LISTING_ADS', description: 'Shopping Comparison Listing campaigns.' }, ], _type: 'enum', }, @@ -59,19 +76,29 @@ module.exports = { _description: 'Immutable. The primary serving target for ads within the campaign. The targeting options can be refined in network_settings. This field is required and should not be empty when creating new campaigns. Can be set only when creating campaigns. After the campaign is created, the field can not be changed.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'SEARCH', description: 'Search Network. Includes display bundled, and Search+ campaigns.' }, - { s: 'DISPLAY', description: 'Google Display Network only.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'SEARCH', + description: 'Search Network. Includes display bundled, and Search+ campaigns.', + index: 2, + }, + { s: 'DISPLAY', description: 'Google Display Network only.', index: 3 }, { s: 'SHOPPING', description: 'Shopping campaigns serve on the shopping property\nand on google.com search results.', + index: 4, }, - { s: 'HOTEL', description: 'Hotel Ads campaigns.' }, - { s: 'VIDEO', description: 'Video campaigns.' }, + { s: 'HOTEL', description: 'Hotel Ads campaigns.', index: 5 }, + { s: 'VIDEO', description: 'Video campaigns.', index: 6 }, { s: 'MULTI_CHANNEL', description: 'App Campaigns, and App Campaigns for Engagement, that run\nacross multiple channels.', + index: 7, }, ], _type: 'enum', @@ -85,13 +112,14 @@ module.exports = { app_store: { _description: 'Immutable. The application store that distributes this specific app.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'APPLE_APP_STORE', description: 'Apple app store.' }, - { s: 'GOOGLE_APP_STORE', description: 'Google play.' }, + { s: 'APPLE_APP_STORE', description: 'Apple app store.', index: 2 }, + { s: 'GOOGLE_APP_STORE', description: 'Google play.', index: 3 }, ], _type: 'enum', }, @@ -99,30 +127,35 @@ module.exports = { _description: 'Represents the goal which the bidding strategy of this app campaign should optimize towards.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'OPTIMIZE_INSTALLS_TARGET_INSTALL_COST', description: 'Aim to maximize the number of app installs. The cpa bid is the\ntarget cost per install.', + index: 2, }, { s: 'OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST', description: 'Aim to maximize the long term number of selected in-app conversions from\napp installs. The cpa bid is the target cost per install.', + index: 3, }, { s: 'OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST', description: 'Aim to maximize the long term number of selected in-app conversions from\napp installs. The cpa bid is the target cost per in-app conversion. Note\nthat the actual cpa may seem higher than the target cpa at first, since\nthe long term conversions haven’t happened yet.', + index: 4, }, { s: 'OPTIMIZE_RETURN_ON_ADVERTISING_SPEND', description: "Aim to maximize all conversions' value, i.e. install + selected in-app\nconversions while achieving or exceeding target return on advertising\nspend.", + index: 5, }, ], _type: 'enum', @@ -142,73 +175,94 @@ module.exports = { _description: 'Output only. The type of bidding strategy. A bidding strategy can be created by setting either the bidding scheme to create a standard bidding strategy or the bidding_strategy field to create a portfolio bidding strategy. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'COMMISSION', description: 'Commission is an automatic bidding strategy in which the advertiser pays\na certain portion of the conversion value.', + index: 16, }, { s: 'ENHANCED_CPC', description: 'Enhanced CPC is a bidding strategy that raises bids for clicks\nthat seem more likely to lead to a conversion and lowers\nthem for clicks where they seem less likely.', + index: 2, }, - { s: 'MANUAL_CPC', description: 'Manual click based bidding where user pays per click.' }, + { s: 'MANUAL_CPC', description: 'Manual click based bidding where user pays per click.', index: 3 }, { s: 'MANUAL_CPM', description: 'Manual impression based bidding\nwhere user pays per thousand impressions.', + index: 4, + }, + { + s: 'MANUAL_CPV', + description: 'A bidding strategy that pays a configurable amount per video view.', + index: 13, }, - { s: 'MANUAL_CPV', description: 'A bidding strategy that pays a configurable amount per video view.' }, { s: 'MAXIMIZE_CONVERSIONS', description: 'A bidding strategy that automatically maximizes number of conversions\ngiven a daily budget.', + index: 10, }, { s: 'MAXIMIZE_CONVERSION_VALUE', description: 'An automated bidding strategy that automatically sets bids to maximize\nrevenue while spending your budget.', + index: 11, }, { s: 'PAGE_ONE_PROMOTED', description: 'Page-One Promoted bidding scheme, which sets max cpc bids to\ntarget impressions on page one or page one promoted slots on google.com.\nThis enum value is deprecated.', + index: 5, }, { s: 'PERCENT_CPC', description: 'Percent Cpc is bidding strategy where bids are a fraction of the\nadvertised price for some good or service.', + index: 12, }, { s: 'TARGET_CPA', description: 'Target CPA is an automated bid strategy that sets bids\nto help get as many conversions as possible\nat the target cost-per-acquisition (CPA) you set.', + index: 6, }, { s: 'TARGET_CPM', description: 'Target CPM is an automated bid strategy that sets bids to help get\nas many impressions as possible at the target cost per one thousand\nimpressions (CPM) you set.', + index: 14, }, { s: 'TARGET_IMPRESSION_SHARE', description: 'An automated bidding strategy that sets bids so that a certain percentage\nof search ads are shown at the top of the first page (or other targeted\nlocation).', + index: 15, }, { s: 'TARGET_OUTRANK_SHARE', description: 'Target Outrank Share is an automated bidding strategy that sets bids\nbased on the target fraction of auctions where the advertiser\nshould outrank a specific competitor.\nThis enum value is deprecated.', + index: 7, }, { s: 'TARGET_ROAS', description: 'Target ROAS is an automated bidding strategy\nthat helps you maximize revenue while averaging\na specific target Return On Average Spend (ROAS).', + index: 8, }, { s: 'TARGET_SPEND', description: 'Target Spend is an automated bid strategy that sets your bids\nto help get as many clicks as possible within your budget.', + index: 9, }, ], _type: 'enum', @@ -251,18 +305,24 @@ module.exports = { experiment_type: { _description: 'Output only. The type of campaign: normal, draft, or experiment.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'BASE', description: 'This is a regular campaign.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'BASE', description: 'This is a regular campaign.', index: 2 }, { s: 'DRAFT', description: 'This is a draft version of a campaign.\nIt has some modifications from a base campaign,\nbut it does not serve or accrue metrics.', + index: 3, }, { s: 'EXPERIMENT', description: 'This is an experiment version of a campaign.\nIt has some modifications from a base campaign,\nand a percentage of traffic is being diverted\nfrom the BASE campaign to this experiment campaign.', + index: 4, }, ], _type: 'enum', @@ -285,13 +345,14 @@ module.exports = { event_type: { _description: 'The type of event that the cap applies to (e.g. impression).', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'IMPRESSION', description: 'The cap applies on ad impressions.' }, - { s: 'VIDEO_VIEW', description: 'The cap applies on video ad views.' }, + { s: 'IMPRESSION', description: 'The cap applies on ad impressions.', index: 2 }, + { s: 'VIDEO_VIEW', description: 'The cap applies on video ad views.', index: 3 }, ], _type: 'enum', }, @@ -299,14 +360,15 @@ module.exports = { _description: 'The level on which the cap is to be applied (e.g. ad group ad, ad group). The cap is applied to all the entities of this level.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AD_GROUP_AD', description: 'The cap is applied at the ad group ad level.' }, - { s: 'AD_GROUP', description: 'The cap is applied at the ad group level.' }, - { s: 'CAMPAIGN', description: 'The cap is applied at the campaign level.' }, + { s: 'AD_GROUP_AD', description: 'The cap is applied at the ad group ad level.', index: 2 }, + { s: 'AD_GROUP', description: 'The cap is applied at the ad group level.', index: 3 }, + { s: 'CAMPAIGN', description: 'The cap is applied at the campaign level.', index: 4 }, ], _type: 'enum', }, @@ -314,14 +376,15 @@ module.exports = { time_unit: { _description: 'Unit of time the cap is defined at (e.g. day, week).', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DAY', description: 'The cap would define limit per one day.' }, - { s: 'WEEK', description: 'The cap would define limit per one week.' }, - { s: 'MONTH', description: 'The cap would define limit per one month.' }, + { s: 'DAY', description: 'The cap would define limit per one day.', index: 2 }, + { s: 'WEEK', description: 'The cap would define limit per one week.', index: 3 }, + { s: 'MONTH', description: 'The cap would define limit per one month.', index: 4 }, ], _type: 'enum', }, @@ -332,17 +395,19 @@ module.exports = { negative_geo_target_type: { _description: 'The setting used for negative geotargeting in this particular campaign.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'PRESENCE_OR_INTEREST', description: "Specifies that a user is excluded from seeing the ad if they\nare in, or show interest in, advertiser's excluded locations.", + index: 4, }, { s: 'PRESENCE', description: "Specifies that a user is excluded from seeing the ad if they\nare in advertiser's excluded locations.", + index: 5, }, ], _type: 'enum', @@ -350,22 +415,25 @@ module.exports = { positive_geo_target_type: { _description: 'The setting used for positive geotargeting in this particular campaign.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'PRESENCE_OR_INTEREST', description: "Specifies that an ad is triggered if the user is in,\nor shows interest in, advertiser's targeted locations.", + index: 5, }, { s: 'SEARCH_INTEREST', description: "Specifies that an ad is triggered if the user\nsearches for advertiser's targeted locations.", + index: 6, }, { s: 'PRESENCE', description: "Specifies that an ad is triggered if the user is in\nor regularly in advertiser's targeted locations.", + index: 7, }, ], _type: 'enum', @@ -443,23 +511,30 @@ module.exports = { payment_mode: { _description: 'Payment mode for the campaign.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CLICKS', description: 'Pay per click.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CLICKS', description: 'Pay per click.', index: 4 }, { s: 'CONVERSION_VALUE', description: 'Pay per conversion value. This mode is only supported by campaigns with\nAdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and\nBudgetType.HOTEL_ADS_COMMISSION.', + index: 5, }, { s: 'CONVERSIONS', description: 'Pay per conversion. This mode is only supported by campaigns with\nAdvertisingChannelType.DISPLAY (excluding\nAdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA,\nand BudgetType.FIXED_CPA. The customer must also be eligible for this\nmode. See Customer.eligibility_failure_reasons for details.', + index: 6, }, { s: 'GUEST_STAY', description: 'Pay per guest stay value. This mode is only supported by campaigns with\nAdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and\nBudgetType.HOTEL_ADS_COMMISSION.', + index: 7, }, ], _type: 'enum', @@ -500,16 +575,17 @@ module.exports = { serving_status: { _description: 'Output only. The ad serving status of the campaign.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'SERVING', description: 'Serving.' }, - { s: 'NONE', description: 'None.' }, - { s: 'ENDED', description: 'Ended.' }, - { s: 'PENDING', description: 'Pending.' }, - { s: 'SUSPENDED', description: 'Suspended.' }, + { s: 'SERVING', description: 'Serving.', index: 2 }, + { s: 'NONE', description: 'None.', index: 3 }, + { s: 'ENDED', description: 'Ended.', index: 4 }, + { s: 'PENDING', description: 'Pending.', index: 5 }, + { s: 'SUSPENDED', description: 'Suspended.', index: 6 }, ], _type: 'enum', }, @@ -539,11 +615,19 @@ module.exports = { status: { _description: 'The status of the campaign. When a new campaign is added, the status defaults to ENABLED.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Campaign is currently serving ads depending on budget information.' }, - { s: 'PAUSED', description: 'Campaign has been paused by the user.' }, - { s: 'REMOVED', description: 'Campaign has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'ENABLED', + description: 'Campaign is currently serving ads depending on budget information.', + index: 2, + }, + { s: 'PAUSED', description: 'Campaign has been paused by the user.', index: 3 }, + { s: 'REMOVED', description: 'Campaign has been removed.', index: 4 }, ], _type: 'enum', }, @@ -583,14 +667,15 @@ module.exports = { location: { _description: 'The targeted location on the search results page.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'ANYWHERE_ON_PAGE', description: 'Any location on the web page.' }, - { s: 'TOP_OF_PAGE', description: 'Top box of ads.' }, - { s: 'ABSOLUTE_TOP_OF_PAGE', description: 'Top slot in the top box of ads.' }, + { s: 'ANYWHERE_ON_PAGE', description: 'Any location on the web page.', index: 2 }, + { s: 'TOP_OF_PAGE', description: 'Top box of ads.', index: 3 }, + { s: 'ABSOLUTE_TOP_OF_PAGE', description: 'Top slot in the top box of ads.', index: 4 }, ], _type: 'enum', }, @@ -664,35 +749,40 @@ module.exports = { targeting_dimension: { _description: 'The targeting dimension that these settings apply to.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'KEYWORD', description: 'Keyword criteria, e.g. \'mars cruise\'. KEYWORD may be used as a custom bid\ndimension. Keywords are always a targeting dimension, so may not be set\nas a target "ALL" dimension with TargetRestriction.', + index: 2, }, { s: 'AUDIENCE', description: 'Audience criteria, which include user list, user interest, custom\naffinity, and custom in market.', + index: 3, }, { s: 'TOPIC', description: "Topic criteria for targeting categories of content, e.g.\n'category::Animals>Pets' Used for Display and Video targeting.", + index: 4, }, - { s: 'GENDER', description: 'Criteria for targeting gender.' }, - { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.' }, + { s: 'GENDER', description: 'Criteria for targeting gender.', index: 5 }, + { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.', index: 6 }, { s: 'PLACEMENT', description: "Placement criteria, which include websites like 'www.flowers4sale.com',\nas well as mobile applications, mobile app categories, YouTube videos,\nand YouTube channels.", + index: 7, }, - { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.' }, - { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.' }, + { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.', index: 8 }, + { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.', index: 9 }, ], _type: 'enum', }, @@ -710,35 +800,40 @@ module.exports = { targeting_dimension: { _description: 'The targeting dimension that these settings apply to.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'KEYWORD', description: 'Keyword criteria, e.g. \'mars cruise\'. KEYWORD may be used as a custom bid\ndimension. Keywords are always a targeting dimension, so may not be set\nas a target "ALL" dimension with TargetRestriction.', + index: 2, }, { s: 'AUDIENCE', description: 'Audience criteria, which include user list, user interest, custom\naffinity, and custom in market.', + index: 3, }, { s: 'TOPIC', description: "Topic criteria for targeting categories of content, e.g.\n'category::Animals>Pets' Used for Display and Video targeting.", + index: 4, }, - { s: 'GENDER', description: 'Criteria for targeting gender.' }, - { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.' }, + { s: 'GENDER', description: 'Criteria for targeting gender.', index: 5 }, + { s: 'AGE_RANGE', description: 'Criteria for targeting age ranges.', index: 6 }, { s: 'PLACEMENT', description: "Placement criteria, which include websites like 'www.flowers4sale.com',\nas well as mobile applications, mobile app categories, YouTube videos,\nand YouTube channels.", + index: 7, }, - { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.' }, - { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.' }, + { s: 'PARENTAL_STATUS', description: 'Criteria for parental status targeting.', index: 8 }, + { s: 'INCOME_RANGE', description: 'Criteria for income range targeting.', index: 9 }, ], _type: 'enum', }, @@ -761,18 +856,21 @@ module.exports = { vanity_pharma_display_url_mode: { _description: 'The display mode for vanity pharma URLs.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'MANUFACTURER_WEBSITE_URL', description: 'Replace vanity pharma URL with manufacturer website url.', + index: 2, }, { s: 'WEBSITE_DESCRIPTION', description: 'Replace vanity pharma URL with description of the website.', + index: 3, }, ], _type: 'enum', @@ -781,64 +879,77 @@ module.exports = { _description: 'The text that will be displayed in display URL of the text ad when website description is the selected display mode for vanity pharma URLs.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'PRESCRIPTION_TREATMENT_WEBSITE_EN', description: 'Prescription treatment website with website content in English.', + index: 2, }, { s: 'PRESCRIPTION_TREATMENT_WEBSITE_ES', description: 'Prescription treatment website with website content in Spanish\n(Sitio de tratamientos con receta).', + index: 3, }, { s: 'PRESCRIPTION_DEVICE_WEBSITE_EN', description: 'Prescription device website with website content in English.', + index: 4, }, { s: 'PRESCRIPTION_DEVICE_WEBSITE_ES', description: 'Prescription device website with website content in Spanish (Sitio de\ndispositivos con receta).', + index: 5, }, { s: 'MEDICAL_DEVICE_WEBSITE_EN', description: 'Medical device website with website content in English.', + index: 6, }, { s: 'MEDICAL_DEVICE_WEBSITE_ES', description: 'Medical device website with website content in Spanish (Sitio de\ndispositivos médicos).', + index: 7, }, { s: 'PREVENTATIVE_TREATMENT_WEBSITE_EN', description: 'Preventative treatment website with website content in English.', + index: 8, }, { s: 'PREVENTATIVE_TREATMENT_WEBSITE_ES', description: 'Preventative treatment website with website content in Spanish (Sitio de\ntratamientos preventivos).', + index: 9, }, { s: 'PRESCRIPTION_CONTRACEPTION_WEBSITE_EN', description: 'Prescription contraception website with website content in English.', + index: 10, }, { s: 'PRESCRIPTION_CONTRACEPTION_WEBSITE_ES', description: 'Prescription contraception website with website content in Spanish (Sitio\nde anticonceptivos con receta).', + index: 11, }, { s: 'PRESCRIPTION_VACCINE_WEBSITE_EN', description: 'Prescription vaccine website with website content in English.', + index: 12, }, { s: 'PRESCRIPTION_VACCINE_WEBSITE_ES', description: 'Prescription vaccine website with website content in Spanish (Sitio de\nvacunas con receta).', + index: 13, }, ], _type: 'enum', @@ -847,22 +958,29 @@ module.exports = { video_brand_safety_suitability: { _description: 'Output only. 3-Tier Brand Safety setting for the campaign.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'EXPANDED_INVENTORY', description: 'This option lets you show ads across all inventory on YouTube and video\npartners that meet our standards for monetization. This option may be an\nappropriate choice for brands that want maximum access to the full\nbreadth of videos eligible for ads, including, for example, videos that\nhave strong profanity in the context of comedy or a documentary, or\nexcessive violence as featured in video games.', + index: 2, }, { s: 'STANDARD_INVENTORY', description: "This option lets you show ads across a wide range of content that's\nappropriate for most brands, such as popular music videos, documentaries,\nand movie trailers. The content you can show ads on is based on YouTube's\nadvertiser-friendly content guidelines that take into account, for\nexample, the strength or frequency of profanity, or the appropriateness\nof subject matter like sensitive events. Ads won't show, for example, on\ncontent with repeated strong profanity, strong sexual content, or graphic\nviolence.", + index: 3, }, { s: 'LIMITED_INVENTORY', description: "This option lets you show ads on a reduced range of content that's\nappropriate for brands with particularly strict guidelines around\ninappropriate language and sexual suggestiveness; above and beyond what\nYouTube's advertiser-friendly content guidelines address. The videos\naccessible in this sensitive category meet heightened requirements,\nespecially for inappropriate language and sexual suggestiveness. For\nexample, your ads will be excluded from showing on some of YouTube's most\npopular music videos and other pop culture content across YouTube and\nGoogle video partners.", + index: 4, }, ], _type: 'enum', diff --git a/docs/content/entities/campaign_bid_modifier/meta.js b/docs/content/entities/campaign_bid_modifier/meta.js index 93d89a19..0fc8ea67 100644 --- a/docs/content/entities/campaign_bid_modifier/meta.js +++ b/docs/content/entities/campaign_bid_modifier/meta.js @@ -12,12 +12,13 @@ module.exports = { type: { _description: 'The interaction type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'CALLS', description: 'Calls.' }, + { s: 'CALLS', description: 'Calls.', index: 8000 }, ], _type: 'enum', }, diff --git a/docs/content/entities/campaign_budget/meta.js b/docs/content/entities/campaign_budget/meta.js index 4d533d2d..6135b486 100644 --- a/docs/content/entities/campaign_budget/meta.js +++ b/docs/content/entities/campaign_budget/meta.js @@ -10,16 +10,22 @@ module.exports = { _description: 'The delivery method that determines the rate at which the campaign budget is spent. Defaults to STANDARD if unspecified in a create operation.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'STANDARD', description: 'The budget server will throttle serving evenly across\nthe entire time period.', + index: 2, }, { s: 'ACCELERATED', description: 'The budget server will not throttle serving,\nand ads will serve as fast as possible.', + index: 3, }, ], _type: 'enum', @@ -47,9 +53,13 @@ module.exports = { period: { _description: 'Immutable. Period over which to spend the budget. Defaults to DAILY if not specified.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'DAILY', description: 'Daily budget.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'DAILY', description: 'Daily budget.', index: 2 }, ], _type: 'enum', }, @@ -90,10 +100,14 @@ module.exports = { status: { _description: 'Output only. The status of this campaign budget. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Budget is enabled.' }, - { s: 'REMOVED', description: 'Budget is removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Budget is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Budget is removed.', index: 3 }, ], _type: 'enum', }, @@ -105,22 +119,29 @@ module.exports = { type: { _description: 'Immutable. The type of the campaign budget.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'STANDARD', description: 'Budget type for standard Google Ads usage.\nCaps daily spend at two times the specified budget amount.\nFull details: https://support.google.com/google-ads/answer/6385083', + index: 2, }, { s: 'HOTEL_ADS_COMMISSION', description: 'Budget type for Hotels Ads commission program.\nFull details: https://support.google.com/google-ads/answer/9243945\n\nThis type is only supported by campaigns with\nAdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION and\nPaymentMode.CONVERSION_VALUE.', + index: 3, }, { s: 'FIXED_CPA', description: 'Budget type with a fixed cost-per-acquisition (conversion).\nFull details: https://support.google.com/google-ads/answer/7528254\n\nThis type is only supported by campaigns with\nAdvertisingChannelType.DISPLAY (excluding\nAdvertisingChannelSubType.DISPLAY_GMAIL),\nBiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS.', + index: 4, }, ], _type: 'enum', diff --git a/docs/content/entities/campaign_criterion/meta.js b/docs/content/entities/campaign_criterion/meta.js index 3358ef45..a29d2770 100644 --- a/docs/content/entities/campaign_criterion/meta.js +++ b/docs/content/entities/campaign_criterion/meta.js @@ -8,15 +8,15 @@ module.exports = { _description: 'Day of the week the schedule applies to. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MONDAY', description: 'Monday.' }, - { s: 'TUESDAY', description: 'Tuesday.' }, - { s: 'WEDNESDAY', description: 'Wednesday.' }, - { s: 'THURSDAY', description: 'Thursday.' }, - { s: 'FRIDAY', description: 'Friday.' }, - { s: 'SATURDAY', description: 'Saturday.' }, - { s: 'SUNDAY', description: 'Sunday.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MONDAY', description: 'Monday.', index: 2 }, + { s: 'TUESDAY', description: 'Tuesday.', index: 3 }, + { s: 'WEDNESDAY', description: 'Wednesday.', index: 4 }, + { s: 'THURSDAY', description: 'Thursday.', index: 5 }, + { s: 'FRIDAY', description: 'Friday.', index: 6 }, + { s: 'SATURDAY', description: 'Saturday.', index: 7 }, + { s: 'SUNDAY', description: 'Sunday.', index: 8 }, ], _type: 'enum', }, @@ -29,12 +29,12 @@ module.exports = { _description: 'Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end minute. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ZERO', description: 'Zero minutes past the hour.' }, - { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.' }, - { s: 'THIRTY', description: 'Thirty minutes past the hour.' }, - { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ZERO', description: 'Zero minutes past the hour.', index: 2 }, + { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.', index: 3 }, + { s: 'THIRTY', description: 'Thirty minutes past the hour.', index: 4 }, + { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.', index: 5 }, ], _type: 'enum', }, @@ -47,12 +47,12 @@ module.exports = { _description: 'Minutes after the start hour at which this schedule starts. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ZERO', description: 'Zero minutes past the hour.' }, - { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.' }, - { s: 'THIRTY', description: 'Thirty minutes past the hour.' }, - { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ZERO', description: 'Zero minutes past the hour.', index: 2 }, + { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.', index: 3 }, + { s: 'THIRTY', description: 'Thirty minutes past the hour.', index: 4 }, + { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.', index: 5 }, ], _type: 'enum', }, @@ -63,18 +63,19 @@ module.exports = { type: { _description: 'Type of the age range.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AGE_RANGE_18_24', description: 'Between 18 and 24 years old.' }, - { s: 'AGE_RANGE_25_34', description: 'Between 25 and 34 years old.' }, - { s: 'AGE_RANGE_35_44', description: 'Between 35 and 44 years old.' }, - { s: 'AGE_RANGE_45_54', description: 'Between 45 and 54 years old.' }, - { s: 'AGE_RANGE_55_64', description: 'Between 55 and 64 years old.' }, - { s: 'AGE_RANGE_65_UP', description: '65 years old and beyond.' }, - { s: 'AGE_RANGE_UNDETERMINED', description: 'Undetermined age range.' }, + { s: 'AGE_RANGE_18_24', description: 'Between 18 and 24 years old.', index: 503001 }, + { s: 'AGE_RANGE_25_34', description: 'Between 25 and 34 years old.', index: 503002 }, + { s: 'AGE_RANGE_35_44', description: 'Between 35 and 44 years old.', index: 503003 }, + { s: 'AGE_RANGE_45_54', description: 'Between 45 and 54 years old.', index: 503004 }, + { s: 'AGE_RANGE_55_64', description: 'Between 55 and 64 years old.', index: 503005 }, + { s: 'AGE_RANGE_65_UP', description: '65 years old and beyond.', index: 503006 }, + { s: 'AGE_RANGE_UNDETERMINED', description: 'Undetermined age range.', index: 503999 }, ], _type: 'enum', }, @@ -96,26 +97,27 @@ module.exports = { type: { _description: 'Content label type, required for CREATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'SEXUALLY_SUGGESTIVE', description: 'Sexually suggestive content.' }, - { s: 'BELOW_THE_FOLD', description: 'Below the fold placement.' }, - { s: 'PARKED_DOMAIN', description: 'Parked domain.' }, - { s: 'JUVENILE', description: 'Juvenile, gross & bizarre content.' }, - { s: 'PROFANITY', description: 'Profanity & rough language.' }, - { s: 'TRAGEDY', description: 'Death & tragedy.' }, - { s: 'VIDEO', description: 'Video.' }, - { s: 'VIDEO_RATING_DV_G', description: 'Content rating: G.' }, - { s: 'VIDEO_RATING_DV_PG', description: 'Content rating: PG.' }, - { s: 'VIDEO_RATING_DV_T', description: 'Content rating: T.' }, - { s: 'VIDEO_RATING_DV_MA', description: 'Content rating: MA.' }, - { s: 'VIDEO_NOT_YET_RATED', description: 'Content rating: not yet rated.' }, - { s: 'EMBEDDED_VIDEO', description: 'Embedded video.' }, - { s: 'LIVE_STREAMING_VIDEO', description: 'Live streaming video.' }, - { s: 'SOCIAL_ISSUES', description: 'Sensitive social issues.' }, + { s: 'SEXUALLY_SUGGESTIVE', description: 'Sexually suggestive content.', index: 2 }, + { s: 'BELOW_THE_FOLD', description: 'Below the fold placement.', index: 3 }, + { s: 'PARKED_DOMAIN', description: 'Parked domain.', index: 4 }, + { s: 'JUVENILE', description: 'Juvenile, gross & bizarre content.', index: 6 }, + { s: 'PROFANITY', description: 'Profanity & rough language.', index: 7 }, + { s: 'TRAGEDY', description: 'Death & tragedy.', index: 8 }, + { s: 'VIDEO', description: 'Video.', index: 9 }, + { s: 'VIDEO_RATING_DV_G', description: 'Content rating: G.', index: 10 }, + { s: 'VIDEO_RATING_DV_PG', description: 'Content rating: PG.', index: 11 }, + { s: 'VIDEO_RATING_DV_T', description: 'Content rating: T.', index: 12 }, + { s: 'VIDEO_RATING_DV_MA', description: 'Content rating: MA.', index: 13 }, + { s: 'VIDEO_NOT_YET_RATED', description: 'Content rating: not yet rated.', index: 14 }, + { s: 'EMBEDDED_VIDEO', description: 'Embedded video.', index: 15 }, + { s: 'LIVE_STREAMING_VIDEO', description: 'Live streaming video.', index: 16 }, + { s: 'SOCIAL_ISSUES', description: 'Sensitive social issues.', index: 17 }, ], _type: 'enum', }, @@ -135,13 +137,13 @@ module.exports = { type: { _description: 'Type of the device.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile devices with full browsers.' }, - { s: 'TABLET', description: 'Tablets with full browsers.' }, - { s: 'DESKTOP', description: 'Computers.' }, - { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.' }, - { s: 'OTHER', description: 'Other device types.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MOBILE', description: 'Mobile devices with full browsers.', index: 2 }, + { s: 'TABLET', description: 'Tablets with full browsers.', index: 3 }, + { s: 'DESKTOP', description: 'Computers.', index: 4 }, + { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.', index: 6 }, + { s: 'OTHER', description: 'Other device types.', index: 5 }, ], _type: 'enum', }, @@ -152,14 +154,15 @@ module.exports = { type: { _description: 'Type of the gender.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'MALE', description: 'Male.' }, - { s: 'FEMALE', description: 'Female.' }, - { s: 'UNDETERMINED', description: 'Undetermined gender.' }, + { s: 'MALE', description: 'Male.', index: 10 }, + { s: 'FEMALE', description: 'Female.', index: 11 }, + { s: 'UNDETERMINED', description: 'Undetermined gender.', index: 20 }, ], _type: 'enum', }, @@ -170,18 +173,19 @@ module.exports = { type: { _description: 'Type of the income range.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INCOME_RANGE_0_50', description: '0%-50%.' }, - { s: 'INCOME_RANGE_50_60', description: '50% to 60%.' }, - { s: 'INCOME_RANGE_60_70', description: '60% to 70%.' }, - { s: 'INCOME_RANGE_70_80', description: '70% to 80%.' }, - { s: 'INCOME_RANGE_80_90', description: '80% to 90%.' }, - { s: 'INCOME_RANGE_90_UP', description: 'Greater than 90%.' }, - { s: 'INCOME_RANGE_UNDETERMINED', description: 'Undetermined income range.' }, + { s: 'INCOME_RANGE_0_50', description: '0%-50%.', index: 510001 }, + { s: 'INCOME_RANGE_50_60', description: '50% to 60%.', index: 510002 }, + { s: 'INCOME_RANGE_60_70', description: '60% to 70%.', index: 510003 }, + { s: 'INCOME_RANGE_70_80', description: '70% to 80%.', index: 510004 }, + { s: 'INCOME_RANGE_80_90', description: '80% to 90%.', index: 510005 }, + { s: 'INCOME_RANGE_90_UP', description: 'Greater than 90%.', index: 510006 }, + { s: 'INCOME_RANGE_UNDETERMINED', description: 'Undetermined income range.', index: 510000 }, ], _type: 'enum', }, @@ -197,14 +201,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -259,16 +264,17 @@ module.exports = { level: { _description: 'Level of the product bidding category.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'LEVEL1', description: 'Level 1.' }, - { s: 'LEVEL2', description: 'Level 2.' }, - { s: 'LEVEL3', description: 'Level 3.' }, - { s: 'LEVEL4', description: 'Level 4.' }, - { s: 'LEVEL5', description: 'Level 5.' }, + { s: 'LEVEL1', description: 'Level 1.', index: 7 }, + { s: 'LEVEL2', description: 'Level 2.', index: 8 }, + { s: 'LEVEL3', description: 'Level 3.', index: 9 }, + { s: 'LEVEL4', description: 'Level 4.', index: 10 }, + { s: 'LEVEL5', description: 'Level 5.', index: 11 }, ], _type: 'enum', }, @@ -282,13 +288,14 @@ module.exports = { channel: { _description: 'Value of the locality.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'ONLINE', description: 'The item is sold online.' }, - { s: 'LOCAL', description: 'The item is sold in local stores.' }, + { s: 'ONLINE', description: 'The item is sold online.', index: 2 }, + { s: 'LOCAL', description: 'The item is sold in local stores.', index: 3 }, ], _type: 'enum', }, @@ -298,20 +305,23 @@ module.exports = { channel_exclusivity: { _description: 'Value of the availability.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'SINGLE_CHANNEL', description: 'The item is sold through one channel only, either local stores or online\nas indicated by its ProductChannel.', + index: 2, }, { s: 'MULTI_CHANNEL', description: 'The item is matched to its online or local stores counterpart, indicating\nit is available for purchase in both ShoppingProductChannels.', + index: 3, }, ], _type: 'enum', @@ -322,14 +332,15 @@ module.exports = { condition: { _description: 'Value of the condition.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'NEW', description: 'The product condition is new.' }, - { s: 'REFURBISHED', description: 'The product condition is refurbished.' }, - { s: 'USED', description: 'The product condition is used.' }, + { s: 'NEW', description: 'The product condition is new.', index: 3 }, + { s: 'REFURBISHED', description: 'The product condition is refurbished.', index: 4 }, + { s: 'USED', description: 'The product condition is used.', index: 5 }, ], _type: 'enum', }, @@ -339,16 +350,17 @@ module.exports = { index: { _description: 'Indicates the index of the custom attribute.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INDEX0', description: 'First product custom attribute.' }, - { s: 'INDEX1', description: 'Second product custom attribute.' }, - { s: 'INDEX2', description: 'Third product custom attribute.' }, - { s: 'INDEX3', description: 'Fourth product custom attribute.' }, - { s: 'INDEX4', description: 'Fifth product custom attribute.' }, + { s: 'INDEX0', description: 'First product custom attribute.', index: 7 }, + { s: 'INDEX1', description: 'Second product custom attribute.', index: 8 }, + { s: 'INDEX2', description: 'Third product custom attribute.', index: 9 }, + { s: 'INDEX3', description: 'Fourth product custom attribute.', index: 10 }, + { s: 'INDEX4', description: 'Fifth product custom attribute.', index: 11 }, ], _type: 'enum', }, @@ -363,16 +375,17 @@ module.exports = { level: { _description: 'Level of the type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'LEVEL1', description: 'Level 1.' }, - { s: 'LEVEL2', description: 'Level 2.' }, - { s: 'LEVEL3', description: 'Level 3.' }, - { s: 'LEVEL4', description: 'Level 4.' }, - { s: 'LEVEL5', description: 'Level 5.' }, + { s: 'LEVEL1', description: 'Level 1.', index: 7 }, + { s: 'LEVEL2', description: 'Level 2.', index: 8 }, + { s: 'LEVEL3', description: 'Level 3.', index: 9 }, + { s: 'LEVEL4', description: 'Level 4.', index: 10 }, + { s: 'LEVEL5', description: 'Level 5.', index: 11 }, ], _type: 'enum', }, @@ -410,13 +423,14 @@ module.exports = { _description: 'Unit of the radius, miles and meters supported currently. This is required and must be set in CREATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'METERS', description: 'Meters' }, - { s: 'MILES', description: 'Miles' }, + { s: 'METERS', description: 'Meters', index: 2 }, + { s: 'MILES', description: 'Miles', index: 3 }, ], _type: 'enum', }, @@ -463,14 +477,15 @@ module.exports = { type: { _description: 'Type of the parental status.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'PARENT', description: 'Parent.' }, - { s: 'NOT_A_PARENT', description: 'Not a parent.' }, - { s: 'UNDETERMINED', description: 'Undetermined parental status.' }, + { s: 'PARENT', description: 'Parent.', index: 300 }, + { s: 'NOT_A_PARENT', description: 'Not a parent.', index: 301 }, + { s: 'UNDETERMINED', description: 'Undetermined parental status.', index: 302 }, ], _type: 'enum', }, @@ -506,13 +521,14 @@ module.exports = { radius_units: { _description: 'The unit of measurement of the radius. Default is KILOMETERS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'MILES', description: 'Miles' }, - { s: 'KILOMETERS', description: 'Kilometers' }, + { s: 'MILES', description: 'Miles', index: 2 }, + { s: 'KILOMETERS', description: 'Kilometers', index: 3 }, ], _type: 'enum', }, @@ -525,14 +541,15 @@ module.exports = { status: { _description: 'The status of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'ENABLED', description: 'The campaign criterion is enabled.' }, - { s: 'PAUSED', description: 'The campaign criterion is paused.' }, - { s: 'REMOVED', description: 'The campaign criterion is removed.' }, + { s: 'ENABLED', description: 'The campaign criterion is enabled.', index: 2 }, + { s: 'PAUSED', description: 'The campaign criterion is paused.', index: 3 }, + { s: 'REMOVED', description: 'The campaign criterion is removed.', index: 4 }, ], _type: 'enum', }, @@ -549,38 +566,46 @@ module.exports = { type: { _description: 'Output only. The type of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'." }, - { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'" }, - { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.' }, - { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.' }, - { s: 'DEVICE', description: 'Devices to target.' }, - { s: 'LOCATION', description: 'Locations to target.' }, - { s: 'LISTING_GROUP', description: 'Listing groups to target.' }, - { s: 'AD_SCHEDULE', description: 'Ad Schedule.' }, - { s: 'AGE_RANGE', description: 'Age range.' }, - { s: 'GENDER', description: 'Gender.' }, - { s: 'INCOME_RANGE', description: 'Income Range.' }, - { s: 'PARENTAL_STATUS', description: 'Parental status.' }, - { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.' }, - { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.' }, - { s: 'USER_LIST', description: 'User list.' }, - { s: 'PROXIMITY', description: 'Proximity.' }, - { s: 'TOPIC', description: 'A topic target on the display network (e.g. "Pets & Animals").' }, - { s: 'LISTING_SCOPE', description: 'Listing scope to target.' }, - { s: 'LANGUAGE', description: 'Language.' }, - { s: 'IP_BLOCK', description: 'IpBlock.' }, - { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.' }, - { s: 'CARRIER', description: 'Carrier.' }, - { s: 'USER_INTEREST', description: 'A category the user is interested in.' }, - { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.' }, - { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.' }, - { s: 'APP_PAYMENT_MODEL', description: 'App payment model.' }, - { s: 'MOBILE_DEVICE', description: 'Mobile device.' }, - { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.' }, - { s: 'CUSTOM_INTENT', description: 'Custom intent.' }, - { s: 'LOCATION_GROUP', description: 'Location group.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'.", index: 2 }, + { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'", index: 3 }, + { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.', index: 4 }, + { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.', index: 5 }, + { s: 'DEVICE', description: 'Devices to target.', index: 6 }, + { s: 'LOCATION', description: 'Locations to target.', index: 7 }, + { s: 'LISTING_GROUP', description: 'Listing groups to target.', index: 8 }, + { s: 'AD_SCHEDULE', description: 'Ad Schedule.', index: 9 }, + { s: 'AGE_RANGE', description: 'Age range.', index: 10 }, + { s: 'GENDER', description: 'Gender.', index: 11 }, + { s: 'INCOME_RANGE', description: 'Income Range.', index: 12 }, + { s: 'PARENTAL_STATUS', description: 'Parental status.', index: 13 }, + { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.', index: 14 }, + { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.', index: 15 }, + { s: 'USER_LIST', description: 'User list.', index: 16 }, + { s: 'PROXIMITY', description: 'Proximity.', index: 17 }, + { + s: 'TOPIC', + description: 'A topic target on the display network (e.g. "Pets & Animals").', + index: 18, + }, + { s: 'LISTING_SCOPE', description: 'Listing scope to target.', index: 19 }, + { s: 'LANGUAGE', description: 'Language.', index: 20 }, + { s: 'IP_BLOCK', description: 'IpBlock.', index: 21 }, + { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.', index: 22 }, + { s: 'CARRIER', description: 'Carrier.', index: 23 }, + { s: 'USER_INTEREST', description: 'A category the user is interested in.', index: 24 }, + { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.', index: 25 }, + { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.', index: 26 }, + { s: 'APP_PAYMENT_MODEL', description: 'App payment model.', index: 27 }, + { s: 'MOBILE_DEVICE', description: 'Mobile device.', index: 28 }, + { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.', index: 29 }, + { s: 'CUSTOM_INTENT', description: 'Custom intent.', index: 30 }, + { s: 'LOCATION_GROUP', description: 'Location group.', index: 31 }, ], _type: 'enum', }, @@ -605,18 +630,32 @@ module.exports = { operand: { _description: 'Operand of webpage targeting condition.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'URL', description: 'Operand denoting a webpage URL targeting condition.', index: 2 }, + { + s: 'CATEGORY', + description: 'Operand denoting a webpage category targeting condition.', + index: 3, + }, + { + s: 'PAGE_TITLE', + description: 'Operand denoting a webpage title targeting condition.', + index: 4, + }, + { + s: 'PAGE_CONTENT', + description: 'Operand denoting a webpage content targeting condition.', + index: 5, }, - { s: 'URL', description: 'Operand denoting a webpage URL targeting condition.' }, - { s: 'CATEGORY', description: 'Operand denoting a webpage category targeting condition.' }, - { s: 'PAGE_TITLE', description: 'Operand denoting a webpage title targeting condition.' }, - { s: 'PAGE_CONTENT', description: 'Operand denoting a webpage content targeting condition.' }, { s: 'CUSTOM_LABEL', description: 'Operand denoting a webpage custom label targeting condition.', + index: 6, }, ], _type: 'enum', @@ -624,18 +663,21 @@ module.exports = { operator: { _description: 'Operator of webpage targeting condition.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'EQUALS', description: 'The argument web condition is equal to the compared web condition.', + index: 2, }, { s: 'CONTAINS', description: 'The argument web condition is part of the compared web condition.', + index: 3, }, ], _type: 'enum', diff --git a/docs/content/entities/campaign_criterion_simulation/meta.js b/docs/content/entities/campaign_criterion_simulation/meta.js index 0d929f9a..aaadbca3 100644 --- a/docs/content/entities/campaign_criterion_simulation/meta.js +++ b/docs/content/entities/campaign_criterion_simulation/meta.js @@ -68,17 +68,23 @@ module.exports = { modification_method: { _description: 'Output only. How the simulation modifies the field.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'UNIFORM', description: 'The values in a simulation were applied to all children of a given\nresource uniformly. Overrides on child resources were not respected.', + index: 2, }, { s: 'DEFAULT', description: 'The values in a simulation were applied to the given resource.\nOverrides on child resources were respected, and traffic estimates\ndo not include these resources.', + index: 3, }, ], _type: 'enum', @@ -95,12 +101,16 @@ module.exports = { type: { _description: 'Output only. The field that the simulation modifies.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CPC_BID', description: 'The simulation is for a cpc bid.' }, - { s: 'CPV_BID', description: 'The simulation is for a cpv bid.' }, - { s: 'TARGET_CPA', description: 'The simulation is for a cpa target.' }, - { s: 'BID_MODIFIER', description: 'The simulation is for a bid modifier.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CPC_BID', description: 'The simulation is for a cpc bid.', index: 2 }, + { s: 'CPV_BID', description: 'The simulation is for a cpv bid.', index: 3 }, + { s: 'TARGET_CPA', description: 'The simulation is for a cpa target.', index: 4 }, + { s: 'BID_MODIFIER', description: 'The simulation is for a bid modifier.', index: 5 }, ], _type: 'enum', }, diff --git a/docs/content/entities/campaign_extension_setting/meta.js b/docs/content/entities/campaign_extension_setting/meta.js index f42c31da..32f63db4 100644 --- a/docs/content/entities/campaign_extension_setting/meta.js +++ b/docs/content/entities/campaign_extension_setting/meta.js @@ -9,16 +9,18 @@ module.exports = { device: { _description: 'The device for which the extensions will serve. Optional.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'MOBILE', description: 'Mobile. The extensions in the extension setting will only serve on\nmobile devices.', + index: 2, }, { s: 'DESKTOP', description: 'Desktop. The extensions in the extension setting will only serve on\ndesktop devices.', + index: 3, }, ], _type: 'enum', @@ -31,20 +33,24 @@ module.exports = { extension_type: { _description: 'Immutable. The extension type of the customer extension setting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NONE', description: 'None.' }, - { s: 'APP', description: 'App.' }, - { s: 'CALL', description: 'Call.' }, - { s: 'CALLOUT', description: 'Callout.' }, - { s: 'MESSAGE', description: 'Message.' }, - { s: 'PRICE', description: 'Price.' }, - { s: 'PROMOTION', description: 'Promotion.' }, - { s: 'SITELINK', description: 'Sitelink.' }, - { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.' }, - { s: 'LOCATION', description: 'Location.' }, - { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.' }, - { s: 'HOTEL_CALLOUT', description: 'Hotel callout' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NONE', description: 'None.', index: 2 }, + { s: 'APP', description: 'App.', index: 3 }, + { s: 'CALL', description: 'Call.', index: 4 }, + { s: 'CALLOUT', description: 'Callout.', index: 5 }, + { s: 'MESSAGE', description: 'Message.', index: 6 }, + { s: 'PRICE', description: 'Price.', index: 7 }, + { s: 'PROMOTION', description: 'Promotion.', index: 8 }, + { s: 'SITELINK', description: 'Sitelink.', index: 10 }, + { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.', index: 11 }, + { s: 'LOCATION', description: 'Location.', index: 12 }, + { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.', index: 13 }, + { s: 'HOTEL_CALLOUT', description: 'Hotel callout', index: 15 }, ], _type: 'enum', }, diff --git a/docs/content/entities/campaign_feed/meta.js b/docs/content/entities/campaign_feed/meta.js index 6bdefb19..f6dab3ca 100644 --- a/docs/content/entities/campaign_feed/meta.js +++ b/docs/content/entities/campaign_feed/meta.js @@ -20,10 +20,14 @@ module.exports = { status: { _description: 'Output only. Status of the campaign feed. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed link is enabled.' }, - { s: 'REMOVED', description: 'Feed link has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed link is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed link has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/campaign_shared_set/meta.js b/docs/content/entities/campaign_shared_set/meta.js index 9f5b2ab3..e78e8e75 100644 --- a/docs/content/entities/campaign_shared_set/meta.js +++ b/docs/content/entities/campaign_shared_set/meta.js @@ -18,10 +18,18 @@ module.exports = { status: { _description: 'Output only. The status of this campaign shared set. Read only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'The campaign shared set is enabled.' }, - { s: 'REMOVED', description: 'The campaign shared set is removed and can no longer be used.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'The campaign shared set is enabled.', index: 2 }, + { + s: 'REMOVED', + description: 'The campaign shared set is removed and can no longer be used.', + index: 3, + }, ], _type: 'enum', }, diff --git a/docs/content/entities/change_status/meta.js b/docs/content/entities/change_status/meta.js index 3af9e956..50d5f74e 100644 --- a/docs/content/entities/change_status/meta.js +++ b/docs/content/entities/change_status/meta.js @@ -32,15 +32,16 @@ module.exports = { resource_status: { _description: 'Output only. Represents the status of the changed resource.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents an unclassified resource unknown\nin this version.', + index: 1, }, - { s: 'ADDED', description: 'The resource was created.' }, - { s: 'CHANGED', description: 'The resource was modified.' }, - { s: 'REMOVED', description: 'The resource was removed.' }, + { s: 'ADDED', description: 'The resource was created.', index: 2 }, + { s: 'CHANGED', description: 'The resource was modified.', index: 3 }, + { s: 'REMOVED', description: 'The resource was removed.', index: 4 }, ], _type: 'enum', }, @@ -48,22 +49,23 @@ module.exports = { _description: 'Output only. Represents the type of the changed resource. This dictates what fields will be set. For example, for AD_GROUP, campaign and ad_group fields will be set.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents an unclassified resource unknown\nin this version.', + index: 1, }, - { s: 'AD_GROUP', description: 'An AdGroup resource change.' }, - { s: 'AD_GROUP_AD', description: 'An AdGroupAd resource change.' }, - { s: 'AD_GROUP_CRITERION', description: 'An AdGroupCriterion resource change.' }, - { s: 'CAMPAIGN', description: 'A Campaign resource change.' }, - { s: 'CAMPAIGN_CRITERION', description: 'A CampaignCriterion resource change.' }, - { s: 'FEED', description: 'A Feed resource change.' }, - { s: 'FEED_ITEM', description: 'A FeedItem resource change.' }, - { s: 'AD_GROUP_FEED', description: 'An AdGroupFeed resource change.' }, - { s: 'CAMPAIGN_FEED', description: 'A CampaignFeed resource change.' }, - { s: 'AD_GROUP_BID_MODIFIER', description: 'An AdGroupBidModifier resource change.' }, + { s: 'AD_GROUP', description: 'An AdGroup resource change.', index: 3 }, + { s: 'AD_GROUP_AD', description: 'An AdGroupAd resource change.', index: 4 }, + { s: 'AD_GROUP_CRITERION', description: 'An AdGroupCriterion resource change.', index: 5 }, + { s: 'CAMPAIGN', description: 'A Campaign resource change.', index: 6 }, + { s: 'CAMPAIGN_CRITERION', description: 'A CampaignCriterion resource change.', index: 7 }, + { s: 'FEED', description: 'A Feed resource change.', index: 9 }, + { s: 'FEED_ITEM', description: 'A FeedItem resource change.', index: 10 }, + { s: 'AD_GROUP_FEED', description: 'An AdGroupFeed resource change.', index: 11 }, + { s: 'CAMPAIGN_FEED', description: 'A CampaignFeed resource change.', index: 12 }, + { s: 'AD_GROUP_BID_MODIFIER', description: 'An AdGroupBidModifier resource change.', index: 13 }, ], _type: 'enum', }, diff --git a/docs/content/entities/conversion_action/meta.js b/docs/content/entities/conversion_action/meta.js index 2538fe9f..ddc175be 100644 --- a/docs/content/entities/conversion_action/meta.js +++ b/docs/content/entities/conversion_action/meta.js @@ -7,40 +7,47 @@ module.exports = { attribution_model: { _description: 'The attribution model type of this conversion action.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXTERNAL', description: 'Uses external attribution.' }, + { s: 'EXTERNAL', description: 'Uses external attribution.', index: 100 }, { s: 'GOOGLE_ADS_LAST_CLICK', description: 'Attributes all credit for a conversion to its last click.', + index: 101, }, { s: 'GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK', description: 'Attributes all credit for a conversion to its first click using Google\nSearch attribution.', + index: 102, }, { s: 'GOOGLE_SEARCH_ATTRIBUTION_LINEAR', description: 'Attributes credit for a conversion equally across all of its clicks using\nGoogle Search attribution.', + index: 103, }, { s: 'GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY', description: 'Attributes exponentially more credit for a conversion to its more recent\nclicks using Google Search attribution (half-life is 1 week).', + index: 104, }, { s: 'GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED', description: 'Attributes 40% of the credit for a conversion to its first and last\nclicks. Remaining 20% is evenly distributed across all other clicks. This\nuses Google Search attribution.', + index: 105, }, { s: 'GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN', description: 'Flexible model that uses machine learning to determine the appropriate\ndistribution of credit among clicks using Google Search attribution.', + index: 106, }, ], _type: 'enum', @@ -48,26 +55,30 @@ module.exports = { data_driven_model_status: { _description: 'Output only. The status of the data-driven attribution model for the conversion action.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AVAILABLE', description: 'The data driven model is available.' }, + { s: 'AVAILABLE', description: 'The data driven model is available.', index: 2 }, { s: 'STALE', description: "The data driven model is stale. It hasn't been updated for at least 7\ndays. It is still being used, but will become expired if it does not get\nupdated for 30 days.", + index: 3, }, { s: 'EXPIRED', description: "The data driven model expired. It hasn't been updated for at least 30\ndays and cannot be used. Most commonly this is because there hasn't been\nthe required number of events in a recent 30-day period.", + index: 4, }, { s: 'NEVER_GENERATED', description: 'The data driven model has never been generated. Most commonly this is\nbecause there has never been the required number of events in any 30-day\nperiod.', + index: 5, }, ], _type: 'enum', @@ -76,14 +87,18 @@ module.exports = { category: { _description: 'The category of conversions reported for this conversion action.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'DEFAULT', description: 'Default category.' }, - { s: 'PAGE_VIEW', description: 'User visiting a page.' }, - { s: 'PURCHASE', description: 'Purchase, sales, or "order placed" event.' }, - { s: 'SIGNUP', description: 'Signup user action.' }, - { s: 'LEAD', description: 'Lead-generating action.' }, - { s: 'DOWNLOAD', description: 'Software download action (as for an app).' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'DEFAULT', description: 'Default category.', index: 2 }, + { s: 'PAGE_VIEW', description: 'User visiting a page.', index: 3 }, + { s: 'PURCHASE', description: 'Purchase, sales, or "order placed" event.', index: 4 }, + { s: 'SIGNUP', description: 'Signup user action.', index: 5 }, + { s: 'LEAD', description: 'Lead-generating action.', index: 6 }, + { s: 'DOWNLOAD', description: 'Software download action (as for an app).', index: 7 }, ], _type: 'enum', }, @@ -95,10 +110,14 @@ module.exports = { counting_type: { _description: 'How to count conversion events for the conversion action.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ONE_PER_CLICK', description: 'Count only one conversion per click.' }, - { s: 'MANY_PER_CLICK', description: 'Count all conversions per click.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ONE_PER_CLICK', description: 'Count only one conversion per click.', index: 2 }, + { s: 'MANY_PER_CLICK', description: 'Count all conversions per click.', index: 3 }, ], _type: 'enum', }, @@ -130,14 +149,19 @@ module.exports = { status: { _description: 'The status of this conversion action for conversion event accrual.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Conversions will be recorded.' }, - { s: 'REMOVED', description: 'Conversions will not be recorded.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Conversions will be recorded.', index: 2 }, + { s: 'REMOVED', description: 'Conversions will not be recorded.', index: 3 }, { s: 'HIDDEN', description: 'Conversions will not be recorded and the conversion action will not\nappear in the UI.', + index: 4, }, ], _type: 'enum', @@ -159,39 +183,48 @@ module.exports = { _description: 'The format of the web page where the tracking tag and snippet will be installed, e.g. HTML.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'HTML', description: 'Standard HTML page format.' }, - { s: 'AMP', description: 'Google AMP page format.' }, + { s: 'HTML', description: 'Standard HTML page format.', index: 2 }, + { s: 'AMP', description: 'Google AMP page format.', index: 3 }, ], _type: 'enum', }, type: { _description: 'The type of the generated tag snippets for tracking conversions.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'WEBPAGE', + description: 'The snippet that is fired as a result of a website page loading.', + index: 2, }, - { s: 'WEBPAGE', description: 'The snippet that is fired as a result of a website page loading.' }, { s: 'WEBPAGE_ONCLICK', description: 'The snippet contains a JavaScript function which fires the tag. This\nfunction is typically called from an onClick handler added to a link or\nbutton element on the page.', + index: 3, }, { s: 'CLICK_TO_CALL', description: 'For embedding on a mobile webpage. The snippet contains a JavaScript\nfunction which fires the tag.', + index: 4, }, { s: 'WEBSITE_CALL', description: 'The snippet that is used to replace the phone number on your website with\na Google forwarding number for call tracking purposes.', + index: 5, }, ], _type: 'enum', @@ -200,33 +233,50 @@ module.exports = { type: { _description: 'Immutable. The type of this conversion action.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'AD_CALL', description: "Conversions that occur when a user clicks on an ad's call extension." }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'AD_CALL', + description: "Conversions that occur when a user clicks on an ad's call extension.", + index: 2, + }, { s: 'CLICK_TO_CALL', description: 'Conversions that occur when a user on a mobile device clicks a phone\nnumber.', + index: 3, }, { s: 'GOOGLE_PLAY_DOWNLOAD', description: 'Conversions that occur when a user downloads a mobile app from the Google\nPlay Store.', + index: 4, }, { s: 'GOOGLE_PLAY_IN_APP_PURCHASE', description: 'Conversions that occur when a user makes a purchase in an app through\nAndroid billing.', + index: 5, + }, + { + s: 'UPLOAD_CALLS', + description: 'Call conversions that are tracked by the advertiser and uploaded.', + index: 6, }, - { s: 'UPLOAD_CALLS', description: 'Call conversions that are tracked by the advertiser and uploaded.' }, { s: 'UPLOAD_CLICKS', description: 'Conversions that are tracked by the advertiser and uploaded with\nattributed clicks.', + index: 7, }, - { s: 'WEBPAGE', description: 'Conversions that occur on a webpage.' }, + { s: 'WEBPAGE', description: 'Conversions that occur on a webpage.', index: 8 }, { s: 'WEBSITE_CALL', description: "Conversions that occur when a user calls a dynamically-generated phone\nnumber from an advertiser's website.", + index: 9, }, ], _type: 'enum', diff --git a/docs/content/entities/custom_interest/meta.js b/docs/content/entities/custom_interest/meta.js index 75819b31..5b32c6ab 100644 --- a/docs/content/entities/custom_interest/meta.js +++ b/docs/content/entities/custom_interest/meta.js @@ -10,13 +10,14 @@ module.exports = { member_type: { _description: 'The type of custom interest member, KEYWORD or URL.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'KEYWORD', description: 'Custom interest member type KEYWORD.' }, - { s: 'URL', description: 'Custom interest member type URL.' }, + { s: 'KEYWORD', description: 'Custom interest member type KEYWORD.', index: 2 }, + { s: 'URL', description: 'Custom interest member type URL.', index: 3 }, ], _type: 'enum', }, @@ -39,12 +40,21 @@ module.exports = { _description: 'Status of this custom interest. Indicates whether the custom interest is enabled or removed.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Enabled status - custom interest is enabled and can be targeted to.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'ENABLED', + description: 'Enabled status - custom interest is enabled and can be targeted to.', + index: 2, + }, { s: 'REMOVED', description: 'Removed status - custom interest is removed and cannot be used for\ntargeting.', + index: 3, }, ], _type: 'enum', @@ -53,13 +63,22 @@ module.exports = { _description: 'Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. By default the type is set to CUSTOM_AFFINITY.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'CUSTOM_AFFINITY', description: 'Allows brand advertisers to define custom affinity audience lists.', + index: 2, + }, + { + s: 'CUSTOM_INTENT', + description: 'Allows advertisers to define custom intent audience lists.', + index: 3, }, - { s: 'CUSTOM_INTENT', description: 'Allows advertisers to define custom intent audience lists.' }, ], _type: 'enum', }, diff --git a/docs/content/entities/customer_client_link/meta.js b/docs/content/entities/customer_client_link/meta.js index d19b8344..cad3cde7 100644 --- a/docs/content/entities/customer_client_link/meta.js +++ b/docs/content/entities/customer_client_link/meta.js @@ -19,19 +19,29 @@ module.exports = { status: { _description: 'This is the status of the link between client and manager.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ACTIVE', description: 'Indicates current in-effect relationship' }, - { s: 'INACTIVE', description: 'Indicates terminated relationship' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ACTIVE', description: 'Indicates current in-effect relationship', index: 2 }, + { s: 'INACTIVE', description: 'Indicates terminated relationship', index: 3 }, { s: 'PENDING', description: "Indicates relationship has been requested by manager, but the client\nhasn't accepted yet.", + index: 4, + }, + { + s: 'REFUSED', + description: 'Relationship was requested by the manager, but the client has refused.', + index: 5, }, - { s: 'REFUSED', description: 'Relationship was requested by the manager, but the client has refused.' }, { s: 'CANCELED', description: 'Indicates relationship has been requested by manager, but manager\ncanceled it.', + index: 6, }, ], _type: 'enum', diff --git a/docs/content/entities/customer_extension_setting/meta.js b/docs/content/entities/customer_extension_setting/meta.js index 53924e2e..f613434d 100644 --- a/docs/content/entities/customer_extension_setting/meta.js +++ b/docs/content/entities/customer_extension_setting/meta.js @@ -4,16 +4,18 @@ module.exports = { device: { _description: 'The device for which the extensions will serve. Optional.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'MOBILE', description: 'Mobile. The extensions in the extension setting will only serve on\nmobile devices.', + index: 2, }, { s: 'DESKTOP', description: 'Desktop. The extensions in the extension setting will only serve on\ndesktop devices.', + index: 3, }, ], _type: 'enum', @@ -26,20 +28,24 @@ module.exports = { extension_type: { _description: 'Immutable. The extension type of the customer extension setting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NONE', description: 'None.' }, - { s: 'APP', description: 'App.' }, - { s: 'CALL', description: 'Call.' }, - { s: 'CALLOUT', description: 'Callout.' }, - { s: 'MESSAGE', description: 'Message.' }, - { s: 'PRICE', description: 'Price.' }, - { s: 'PROMOTION', description: 'Promotion.' }, - { s: 'SITELINK', description: 'Sitelink.' }, - { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.' }, - { s: 'LOCATION', description: 'Location.' }, - { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.' }, - { s: 'HOTEL_CALLOUT', description: 'Hotel callout' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NONE', description: 'None.', index: 2 }, + { s: 'APP', description: 'App.', index: 3 }, + { s: 'CALL', description: 'Call.', index: 4 }, + { s: 'CALLOUT', description: 'Callout.', index: 5 }, + { s: 'MESSAGE', description: 'Message.', index: 6 }, + { s: 'PRICE', description: 'Price.', index: 7 }, + { s: 'PROMOTION', description: 'Promotion.', index: 8 }, + { s: 'SITELINK', description: 'Sitelink.', index: 10 }, + { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.', index: 11 }, + { s: 'LOCATION', description: 'Location.', index: 12 }, + { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.', index: 13 }, + { s: 'HOTEL_CALLOUT', description: 'Hotel callout', index: 15 }, ], _type: 'enum', }, diff --git a/docs/content/entities/customer_feed/meta.js b/docs/content/entities/customer_feed/meta.js index cb7020e6..1bba1420 100644 --- a/docs/content/entities/customer_feed/meta.js +++ b/docs/content/entities/customer_feed/meta.js @@ -19,10 +19,14 @@ module.exports = { status: { _description: 'Output only. Status of the customer feed. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed link is enabled.' }, - { s: 'REMOVED', description: 'Feed link has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed link is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed link has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/customer_manager_link/meta.js b/docs/content/entities/customer_manager_link/meta.js index c15c3d0d..c2ffc127 100644 --- a/docs/content/entities/customer_manager_link/meta.js +++ b/docs/content/entities/customer_manager_link/meta.js @@ -17,19 +17,29 @@ module.exports = { status: { _description: 'Status of the link between the customer and the manager.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ACTIVE', description: 'Indicates current in-effect relationship' }, - { s: 'INACTIVE', description: 'Indicates terminated relationship' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ACTIVE', description: 'Indicates current in-effect relationship', index: 2 }, + { s: 'INACTIVE', description: 'Indicates terminated relationship', index: 3 }, { s: 'PENDING', description: "Indicates relationship has been requested by manager, but the client\nhasn't accepted yet.", + index: 4, + }, + { + s: 'REFUSED', + description: 'Relationship was requested by the manager, but the client has refused.', + index: 5, }, - { s: 'REFUSED', description: 'Relationship was requested by the manager, but the client has refused.' }, { s: 'CANCELED', description: 'Indicates relationship has been requested by manager, but manager\ncanceled it.', + index: 6, }, ], _type: 'enum', diff --git a/docs/content/entities/customer_negative_criterion/meta.js b/docs/content/entities/customer_negative_criterion/meta.js index bde7646e..8f74d244 100644 --- a/docs/content/entities/customer_negative_criterion/meta.js +++ b/docs/content/entities/customer_negative_criterion/meta.js @@ -7,26 +7,27 @@ module.exports = { type: { _description: 'Content label type, required for CREATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'SEXUALLY_SUGGESTIVE', description: 'Sexually suggestive content.' }, - { s: 'BELOW_THE_FOLD', description: 'Below the fold placement.' }, - { s: 'PARKED_DOMAIN', description: 'Parked domain.' }, - { s: 'JUVENILE', description: 'Juvenile, gross & bizarre content.' }, - { s: 'PROFANITY', description: 'Profanity & rough language.' }, - { s: 'TRAGEDY', description: 'Death & tragedy.' }, - { s: 'VIDEO', description: 'Video.' }, - { s: 'VIDEO_RATING_DV_G', description: 'Content rating: G.' }, - { s: 'VIDEO_RATING_DV_PG', description: 'Content rating: PG.' }, - { s: 'VIDEO_RATING_DV_T', description: 'Content rating: T.' }, - { s: 'VIDEO_RATING_DV_MA', description: 'Content rating: MA.' }, - { s: 'VIDEO_NOT_YET_RATED', description: 'Content rating: not yet rated.' }, - { s: 'EMBEDDED_VIDEO', description: 'Embedded video.' }, - { s: 'LIVE_STREAMING_VIDEO', description: 'Live streaming video.' }, - { s: 'SOCIAL_ISSUES', description: 'Sensitive social issues.' }, + { s: 'SEXUALLY_SUGGESTIVE', description: 'Sexually suggestive content.', index: 2 }, + { s: 'BELOW_THE_FOLD', description: 'Below the fold placement.', index: 3 }, + { s: 'PARKED_DOMAIN', description: 'Parked domain.', index: 4 }, + { s: 'JUVENILE', description: 'Juvenile, gross & bizarre content.', index: 6 }, + { s: 'PROFANITY', description: 'Profanity & rough language.', index: 7 }, + { s: 'TRAGEDY', description: 'Death & tragedy.', index: 8 }, + { s: 'VIDEO', description: 'Video.', index: 9 }, + { s: 'VIDEO_RATING_DV_G', description: 'Content rating: G.', index: 10 }, + { s: 'VIDEO_RATING_DV_PG', description: 'Content rating: PG.', index: 11 }, + { s: 'VIDEO_RATING_DV_T', description: 'Content rating: T.', index: 12 }, + { s: 'VIDEO_RATING_DV_MA', description: 'Content rating: MA.', index: 13 }, + { s: 'VIDEO_NOT_YET_RATED', description: 'Content rating: not yet rated.', index: 14 }, + { s: 'EMBEDDED_VIDEO', description: 'Embedded video.', index: 15 }, + { s: 'LIVE_STREAMING_VIDEO', description: 'Live streaming video.', index: 16 }, + { s: 'SOCIAL_ISSUES', description: 'Sensitive social issues.', index: 17 }, ], _type: 'enum', }, @@ -63,38 +64,46 @@ module.exports = { type: { _description: 'Output only. The type of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'." }, - { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'" }, - { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.' }, - { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.' }, - { s: 'DEVICE', description: 'Devices to target.' }, - { s: 'LOCATION', description: 'Locations to target.' }, - { s: 'LISTING_GROUP', description: 'Listing groups to target.' }, - { s: 'AD_SCHEDULE', description: 'Ad Schedule.' }, - { s: 'AGE_RANGE', description: 'Age range.' }, - { s: 'GENDER', description: 'Gender.' }, - { s: 'INCOME_RANGE', description: 'Income Range.' }, - { s: 'PARENTAL_STATUS', description: 'Parental status.' }, - { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.' }, - { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.' }, - { s: 'USER_LIST', description: 'User list.' }, - { s: 'PROXIMITY', description: 'Proximity.' }, - { s: 'TOPIC', description: 'A topic target on the display network (e.g. "Pets & Animals").' }, - { s: 'LISTING_SCOPE', description: 'Listing scope to target.' }, - { s: 'LANGUAGE', description: 'Language.' }, - { s: 'IP_BLOCK', description: 'IpBlock.' }, - { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.' }, - { s: 'CARRIER', description: 'Carrier.' }, - { s: 'USER_INTEREST', description: 'A category the user is interested in.' }, - { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.' }, - { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.' }, - { s: 'APP_PAYMENT_MODEL', description: 'App payment model.' }, - { s: 'MOBILE_DEVICE', description: 'Mobile device.' }, - { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.' }, - { s: 'CUSTOM_INTENT', description: 'Custom intent.' }, - { s: 'LOCATION_GROUP', description: 'Location group.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'.", index: 2 }, + { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'", index: 3 }, + { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.', index: 4 }, + { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.', index: 5 }, + { s: 'DEVICE', description: 'Devices to target.', index: 6 }, + { s: 'LOCATION', description: 'Locations to target.', index: 7 }, + { s: 'LISTING_GROUP', description: 'Listing groups to target.', index: 8 }, + { s: 'AD_SCHEDULE', description: 'Ad Schedule.', index: 9 }, + { s: 'AGE_RANGE', description: 'Age range.', index: 10 }, + { s: 'GENDER', description: 'Gender.', index: 11 }, + { s: 'INCOME_RANGE', description: 'Income Range.', index: 12 }, + { s: 'PARENTAL_STATUS', description: 'Parental status.', index: 13 }, + { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.', index: 14 }, + { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.', index: 15 }, + { s: 'USER_LIST', description: 'User list.', index: 16 }, + { s: 'PROXIMITY', description: 'Proximity.', index: 17 }, + { + s: 'TOPIC', + description: 'A topic target on the display network (e.g. "Pets & Animals").', + index: 18, + }, + { s: 'LISTING_SCOPE', description: 'Listing scope to target.', index: 19 }, + { s: 'LANGUAGE', description: 'Language.', index: 20 }, + { s: 'IP_BLOCK', description: 'IpBlock.', index: 21 }, + { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.', index: 22 }, + { s: 'CARRIER', description: 'Carrier.', index: 23 }, + { s: 'USER_INTEREST', description: 'A category the user is interested in.', index: 24 }, + { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.', index: 25 }, + { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.', index: 26 }, + { s: 'APP_PAYMENT_MODEL', description: 'App payment model.', index: 27 }, + { s: 'MOBILE_DEVICE', description: 'Mobile device.', index: 28 }, + { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.', index: 29 }, + { s: 'CUSTOM_INTENT', description: 'Custom intent.', index: 30 }, + { s: 'LOCATION_GROUP', description: 'Location group.', index: 31 }, ], _type: 'enum', }, diff --git a/docs/content/entities/extension_feed_item/meta.js b/docs/content/entities/extension_feed_item/meta.js index f2179b23..deeba435 100644 --- a/docs/content/entities/extension_feed_item/meta.js +++ b/docs/content/entities/extension_feed_item/meta.js @@ -9,15 +9,15 @@ module.exports = { _description: 'Day of the week the schedule applies to. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MONDAY', description: 'Monday.' }, - { s: 'TUESDAY', description: 'Tuesday.' }, - { s: 'WEDNESDAY', description: 'Wednesday.' }, - { s: 'THURSDAY', description: 'Thursday.' }, - { s: 'FRIDAY', description: 'Friday.' }, - { s: 'SATURDAY', description: 'Saturday.' }, - { s: 'SUNDAY', description: 'Sunday.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MONDAY', description: 'Monday.', index: 2 }, + { s: 'TUESDAY', description: 'Tuesday.', index: 3 }, + { s: 'WEDNESDAY', description: 'Wednesday.', index: 4 }, + { s: 'THURSDAY', description: 'Thursday.', index: 5 }, + { s: 'FRIDAY', description: 'Friday.', index: 6 }, + { s: 'SATURDAY', description: 'Saturday.', index: 7 }, + { s: 'SUNDAY', description: 'Sunday.', index: 8 }, ], _type: 'enum', }, @@ -30,12 +30,12 @@ module.exports = { _description: 'Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end minute. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ZERO', description: 'Zero minutes past the hour.' }, - { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.' }, - { s: 'THIRTY', description: 'Thirty minutes past the hour.' }, - { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ZERO', description: 'Zero minutes past the hour.', index: 2 }, + { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.', index: 3 }, + { s: 'THIRTY', description: 'Thirty minutes past the hour.', index: 4 }, + { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.', index: 5 }, ], _type: 'enum', }, @@ -48,12 +48,12 @@ module.exports = { _description: 'Minutes after the start hour at which this schedule starts. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ZERO', description: 'Zero minutes past the hour.' }, - { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.' }, - { s: 'THIRTY', description: 'Thirty minutes past the hour.' }, - { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ZERO', description: 'Zero minutes past the hour.', index: 2 }, + { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.', index: 3 }, + { s: 'THIRTY', description: 'Thirty minutes past the hour.', index: 4 }, + { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.', index: 5 }, ], _type: 'enum', }, @@ -86,13 +86,14 @@ module.exports = { app_store: { _description: 'The application store that the target application belongs to. This field is required.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'APPLE_ITUNES', description: 'Apple iTunes.' }, - { s: 'GOOGLE_PLAY', description: 'Google Play.' }, + { s: 'APPLE_ITUNES', description: 'Apple iTunes.', index: 2 }, + { s: 'GOOGLE_PLAY', description: 'Google Play.', index: 3 }, ], _type: 'enum', }, @@ -138,20 +139,23 @@ module.exports = { _description: 'Enum value that indicates whether this call extension uses its own call conversion setting (or just have call conversion disabled), or following the account level setting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DISABLED', description: 'Call conversion action is disabled.' }, + { s: 'DISABLED', description: 'Call conversion action is disabled.', index: 2 }, { s: 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the\naccount level.', + index: 3, }, { s: 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the resource\n(call only ads/call extensions) level.', + index: 4, }, ], _type: 'enum', @@ -186,9 +190,13 @@ module.exports = { device: { _description: 'The targeted device.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'MOBILE', description: 'Mobile.', index: 2 }, ], _type: 'enum', }, @@ -200,20 +208,24 @@ module.exports = { extension_type: { _description: 'Output only. The extension type of the extension feed item. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NONE', description: 'None.' }, - { s: 'APP', description: 'App.' }, - { s: 'CALL', description: 'Call.' }, - { s: 'CALLOUT', description: 'Callout.' }, - { s: 'MESSAGE', description: 'Message.' }, - { s: 'PRICE', description: 'Price.' }, - { s: 'PROMOTION', description: 'Promotion.' }, - { s: 'SITELINK', description: 'Sitelink.' }, - { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.' }, - { s: 'LOCATION', description: 'Location.' }, - { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.' }, - { s: 'HOTEL_CALLOUT', description: 'Hotel callout' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'NONE', description: 'None.', index: 2 }, + { s: 'APP', description: 'App.', index: 3 }, + { s: 'CALL', description: 'Call.', index: 4 }, + { s: 'CALLOUT', description: 'Callout.', index: 5 }, + { s: 'MESSAGE', description: 'Message.', index: 6 }, + { s: 'PRICE', description: 'Price.', index: 7 }, + { s: 'PROMOTION', description: 'Promotion.', index: 8 }, + { s: 'SITELINK', description: 'Sitelink.', index: 10 }, + { s: 'STRUCTURED_SNIPPET', description: 'Structured snippet.', index: 11 }, + { s: 'LOCATION', description: 'Location.', index: 12 }, + { s: 'AFFILIATE_LOCATION', description: 'Affiliate location.', index: 13 }, + { s: 'HOTEL_CALLOUT', description: 'Hotel callout', index: 15 }, ], _type: 'enum', }, @@ -275,17 +287,18 @@ module.exports = { unit: { _description: 'Price unit for this offer.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'PER_HOUR', description: 'Per hour.' }, - { s: 'PER_DAY', description: 'Per day.' }, - { s: 'PER_WEEK', description: 'Per week.' }, - { s: 'PER_MONTH', description: 'Per month.' }, - { s: 'PER_YEAR', description: 'Per year.' }, - { s: 'PER_NIGHT', description: 'Per night.' }, + { s: 'PER_HOUR', description: 'Per hour.', index: 2 }, + { s: 'PER_DAY', description: 'Per day.', index: 3 }, + { s: 'PER_WEEK', description: 'Per week.', index: 4 }, + { s: 'PER_MONTH', description: 'Per month.', index: 5 }, + { s: 'PER_YEAR', description: 'Per year.', index: 6 }, + { s: 'PER_NIGHT', description: 'Per night.', index: 7 }, ], _type: 'enum', }, @@ -293,14 +306,15 @@ module.exports = { price_qualifier: { _description: 'Price qualifier for all offers of this price extension.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'FROM', description: "'From' qualifier for the price." }, - { s: 'UP_TO', description: "'Up to' qualifier for the price." }, - { s: 'AVERAGE', description: "'Average' qualifier for the price." }, + { s: 'FROM', description: "'From' qualifier for the price.", index: 2 }, + { s: 'UP_TO', description: "'Up to' qualifier for the price.", index: 3 }, + { s: 'AVERAGE', description: "'Average' qualifier for the price.", index: 4 }, ], _type: 'enum', }, @@ -311,32 +325,49 @@ module.exports = { type: { _description: 'Price extension type of this extension.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'BRANDS', description: 'The type for showing a list of brands.', index: 2 }, + { s: 'EVENTS', description: 'The type for showing a list of events.', index: 3 }, + { + s: 'LOCATIONS', + description: 'The type for showing locations relevant to your business.', + index: 4, }, - { s: 'BRANDS', description: 'The type for showing a list of brands.' }, - { s: 'EVENTS', description: 'The type for showing a list of events.' }, - { s: 'LOCATIONS', description: 'The type for showing locations relevant to your business.' }, { s: 'NEIGHBORHOODS', description: 'The type for showing sub-regions or districts within a city or region.', + index: 5, }, { s: 'PRODUCT_CATEGORIES', description: 'The type for showing a collection of product categories.', + index: 6, + }, + { + s: 'PRODUCT_TIERS', + description: 'The type for showing a collection of related product tiers.', + index: 7, }, - { s: 'PRODUCT_TIERS', description: 'The type for showing a collection of related product tiers.' }, { s: 'SERVICES', description: 'The type for showing a collection of services offered by your business.', + index: 8, }, { s: 'SERVICE_CATEGORIES', description: 'The type for showing a collection of service categories.', + index: 9, + }, + { + s: 'SERVICE_TIERS', + description: 'The type for showing a collection of related service tiers.', + index: 10, }, - { s: 'SERVICE_TIERS', description: 'The type for showing a collection of related service tiers.' }, ], _type: 'enum', }, @@ -347,12 +378,13 @@ module.exports = { discount_modifier: { _description: 'Enum that modifies the qualification of the discount.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'UP_TO', description: "'Up to'." }, + { s: 'UP_TO', description: "'Up to'.", index: 2 }, ], _type: 'enum', }, @@ -385,48 +417,49 @@ module.exports = { _description: 'The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'NEW_YEARS', description: "New Year's." }, - { s: 'CHINESE_NEW_YEAR', description: 'Chinese New Year.' }, - { s: 'VALENTINES_DAY', description: "Valentine's Day." }, - { s: 'EASTER', description: 'Easter.' }, - { s: 'MOTHERS_DAY', description: "Mother's Day." }, - { s: 'FATHERS_DAY', description: "Father's Day." }, - { s: 'LABOR_DAY', description: 'Labor Day.' }, - { s: 'BACK_TO_SCHOOL', description: 'Back To School.' }, - { s: 'HALLOWEEN', description: 'Halloween.' }, - { s: 'BLACK_FRIDAY', description: 'Black Friday.' }, - { s: 'CYBER_MONDAY', description: 'Cyber Monday.' }, - { s: 'CHRISTMAS', description: 'Christmas.' }, - { s: 'BOXING_DAY', description: 'Boxing Day.' }, - { s: 'INDEPENDENCE_DAY', description: 'Independence Day in any country.' }, - { s: 'NATIONAL_DAY', description: 'National Day in any country.' }, - { s: 'END_OF_SEASON', description: 'End of any season.' }, - { s: 'WINTER_SALE', description: 'Winter Sale.' }, - { s: 'SUMMER_SALE', description: 'Summer sale.' }, - { s: 'FALL_SALE', description: 'Fall Sale.' }, - { s: 'SPRING_SALE', description: 'Spring Sale.' }, - { s: 'RAMADAN', description: 'Ramadan.' }, - { s: 'EID_AL_FITR', description: 'Eid al-Fitr.' }, - { s: 'EID_AL_ADHA', description: 'Eid al-Adha.' }, - { s: 'SINGLES_DAY', description: 'Singles Day.' }, - { s: 'WOMENS_DAY', description: "Women's Day." }, - { s: 'HOLI', description: 'Holi.' }, - { s: 'PARENTS_DAY', description: "Parent's Day." }, - { s: 'ST_NICHOLAS_DAY', description: 'St. Nicholas Day.' }, - { s: 'CARNIVAL', description: 'Carnival.' }, - { s: 'EPIPHANY', description: "Epiphany, also known as Three Kings' Day." }, - { s: 'ROSH_HASHANAH', description: 'Rosh Hashanah.' }, - { s: 'PASSOVER', description: 'Passover.' }, - { s: 'HANUKKAH', description: 'Hanukkah.' }, - { s: 'DIWALI', description: 'Diwali.' }, - { s: 'NAVRATRI', description: 'Navratri.' }, - { s: 'SONGKRAN', description: 'Available in Thai: Songkran.' }, - { s: 'YEAR_END_GIFT', description: 'Available in Japanese: Year-end Gift.' }, + { s: 'NEW_YEARS', description: "New Year's.", index: 2 }, + { s: 'CHINESE_NEW_YEAR', description: 'Chinese New Year.', index: 3 }, + { s: 'VALENTINES_DAY', description: "Valentine's Day.", index: 4 }, + { s: 'EASTER', description: 'Easter.', index: 5 }, + { s: 'MOTHERS_DAY', description: "Mother's Day.", index: 6 }, + { s: 'FATHERS_DAY', description: "Father's Day.", index: 7 }, + { s: 'LABOR_DAY', description: 'Labor Day.', index: 8 }, + { s: 'BACK_TO_SCHOOL', description: 'Back To School.', index: 9 }, + { s: 'HALLOWEEN', description: 'Halloween.', index: 10 }, + { s: 'BLACK_FRIDAY', description: 'Black Friday.', index: 11 }, + { s: 'CYBER_MONDAY', description: 'Cyber Monday.', index: 12 }, + { s: 'CHRISTMAS', description: 'Christmas.', index: 13 }, + { s: 'BOXING_DAY', description: 'Boxing Day.', index: 14 }, + { s: 'INDEPENDENCE_DAY', description: 'Independence Day in any country.', index: 15 }, + { s: 'NATIONAL_DAY', description: 'National Day in any country.', index: 16 }, + { s: 'END_OF_SEASON', description: 'End of any season.', index: 17 }, + { s: 'WINTER_SALE', description: 'Winter Sale.', index: 18 }, + { s: 'SUMMER_SALE', description: 'Summer sale.', index: 19 }, + { s: 'FALL_SALE', description: 'Fall Sale.', index: 20 }, + { s: 'SPRING_SALE', description: 'Spring Sale.', index: 21 }, + { s: 'RAMADAN', description: 'Ramadan.', index: 22 }, + { s: 'EID_AL_FITR', description: 'Eid al-Fitr.', index: 23 }, + { s: 'EID_AL_ADHA', description: 'Eid al-Adha.', index: 24 }, + { s: 'SINGLES_DAY', description: 'Singles Day.', index: 25 }, + { s: 'WOMENS_DAY', description: "Women's Day.", index: 26 }, + { s: 'HOLI', description: 'Holi.', index: 27 }, + { s: 'PARENTS_DAY', description: "Parent's Day.", index: 28 }, + { s: 'ST_NICHOLAS_DAY', description: 'St. Nicholas Day.', index: 29 }, + { s: 'CARNIVAL', description: 'Carnival.', index: 30 }, + { s: 'EPIPHANY', description: "Epiphany, also known as Three Kings' Day.", index: 31 }, + { s: 'ROSH_HASHANAH', description: 'Rosh Hashanah.', index: 32 }, + { s: 'PASSOVER', description: 'Passover.', index: 33 }, + { s: 'HANUKKAH', description: 'Hanukkah.', index: 34 }, + { s: 'DIWALI', description: 'Diwali.', index: 35 }, + { s: 'NAVRATRI', description: 'Navratri.', index: 36 }, + { s: 'SONGKRAN', description: 'Available in Thai: Songkran.', index: 37 }, + { s: 'YEAR_END_GIFT', description: 'Available in Japanese: Year-end Gift.', index: 38 }, ], _type: 'enum', }, @@ -521,10 +554,14 @@ module.exports = { status: { _description: 'Output only. Status of the feed item. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed item is enabled.' }, - { s: 'REMOVED', description: 'Feed item has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed item is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed item has been removed.', index: 3 }, ], _type: 'enum', }, @@ -553,14 +590,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, diff --git a/docs/content/entities/feed/meta.js b/docs/content/entities/feed/meta.js index ae072db5..2f18cefb 100644 --- a/docs/content/entities/feed/meta.js +++ b/docs/content/entities/feed/meta.js @@ -12,12 +12,13 @@ module.exports = { relationship_type: { _description: 'The relationship the chains have with the advertiser.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'GENERAL_RETAILER', description: 'General retailer relationship.' }, + { s: 'GENERAL_RETAILER', description: 'General retailer relationship.', index: 2 }, ], _type: 'enum', }, @@ -50,24 +51,25 @@ module.exports = { type: { _description: 'Data type for feed attribute. Required.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INT64', description: 'Int64.' }, - { s: 'DOUBLE', description: 'Double.' }, - { s: 'STRING', description: 'String.' }, - { s: 'BOOLEAN', description: 'Boolean.' }, - { s: 'URL', description: 'Url.' }, - { s: 'DATE_TIME', description: 'Datetime.' }, - { s: 'INT64_LIST', description: 'Int64 list.' }, - { s: 'DOUBLE_LIST', description: 'Double (8 bytes) list.' }, - { s: 'STRING_LIST', description: 'String list.' }, - { s: 'BOOLEAN_LIST', description: 'Boolean list.' }, - { s: 'URL_LIST', description: 'Url list.' }, - { s: 'DATE_TIME_LIST', description: 'Datetime list.' }, - { s: 'PRICE', description: 'Price.' }, + { s: 'INT64', description: 'Int64.', index: 2 }, + { s: 'DOUBLE', description: 'Double.', index: 3 }, + { s: 'STRING', description: 'String.', index: 4 }, + { s: 'BOOLEAN', description: 'Boolean.', index: 5 }, + { s: 'URL', description: 'Url.', index: 6 }, + { s: 'DATE_TIME', description: 'Datetime.', index: 7 }, + { s: 'INT64_LIST', description: 'Int64 list.', index: 8 }, + { s: 'DOUBLE_LIST', description: 'Double (8 bytes) list.', index: 9 }, + { s: 'STRING_LIST', description: 'String list.', index: 10 }, + { s: 'BOOLEAN_LIST', description: 'Boolean list.', index: 11 }, + { s: 'URL_LIST', description: 'Url list.', index: 12 }, + { s: 'DATE_TIME_LIST', description: 'Datetime list.', index: 13 }, + { s: 'PRICE', description: 'Price.', index: 14 }, ], _type: 'enum', }, @@ -87,24 +89,25 @@ module.exports = { type: { _description: 'Data type for feed attribute. Required.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INT64', description: 'Int64.' }, - { s: 'DOUBLE', description: 'Double.' }, - { s: 'STRING', description: 'String.' }, - { s: 'BOOLEAN', description: 'Boolean.' }, - { s: 'URL', description: 'Url.' }, - { s: 'DATE_TIME', description: 'Datetime.' }, - { s: 'INT64_LIST', description: 'Int64 list.' }, - { s: 'DOUBLE_LIST', description: 'Double (8 bytes) list.' }, - { s: 'STRING_LIST', description: 'String list.' }, - { s: 'BOOLEAN_LIST', description: 'Boolean list.' }, - { s: 'URL_LIST', description: 'Url list.' }, - { s: 'DATE_TIME_LIST', description: 'Datetime list.' }, - { s: 'PRICE', description: 'Price.' }, + { s: 'INT64', description: 'Int64.', index: 2 }, + { s: 'DOUBLE', description: 'Double.', index: 3 }, + { s: 'STRING', description: 'String.', index: 4 }, + { s: 'BOOLEAN', description: 'Boolean.', index: 5 }, + { s: 'URL', description: 'Url.', index: 6 }, + { s: 'DATE_TIME', description: 'Datetime.', index: 7 }, + { s: 'INT64_LIST', description: 'Int64 list.', index: 8 }, + { s: 'DOUBLE_LIST', description: 'Double (8 bytes) list.', index: 9 }, + { s: 'STRING_LIST', description: 'String list.', index: 10 }, + { s: 'BOOLEAN_LIST', description: 'Boolean list.', index: 11 }, + { s: 'URL_LIST', description: 'Url list.', index: 12 }, + { s: 'DATE_TIME_LIST', description: 'Datetime list.', index: 13 }, + { s: 'PRICE', description: 'Price.', index: 14 }, ], _type: 'enum', }, @@ -114,17 +117,23 @@ module.exports = { origin: { _description: 'Immutable. Specifies who manages the FeedAttributes for the Feed.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'USER', description: 'The FeedAttributes for this Feed are managed by the\nuser. Users can add FeedAttributes to this Feed.', + index: 2, }, { s: 'GOOGLE', description: 'The FeedAttributes for an GOOGLE Feed are created by Google. A feed of\nthis type is maintained by Google and will have the correct attributes\nfor the placeholder type of the feed.', + index: 3, }, ], _type: 'enum', @@ -179,10 +188,14 @@ module.exports = { status: { _description: 'Output only. Status of the feed. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed is enabled.' }, - { s: 'REMOVED', description: 'Feed has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/feed_item/meta.js b/docs/content/entities/feed_item/meta.js index f79a99d5..01cbfde4 100644 --- a/docs/content/entities/feed_item/meta.js +++ b/docs/content/entities/feed_item/meta.js @@ -67,11 +67,16 @@ module.exports = { geo_targeting_restriction: { _description: 'Geo targeting restriction specifies the type of location that can be used for targeting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'LOCATION_OF_PRESENCE', description: 'Indicates that request context should match the physical location of\nthe user.', + index: 2, }, ], _type: 'enum', @@ -85,19 +90,21 @@ module.exports = { _description: 'Output only. The overall approval status of the placeholder type, calculated based on the status of its individual policy topic entries.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'DISAPPROVED', description: 'Will not serve.' }, - { s: 'APPROVED_LIMITED', description: 'Serves with restrictions.' }, - { s: 'APPROVED', description: 'Serves without restrictions.' }, + { s: 'DISAPPROVED', description: 'Will not serve.', index: 2 }, + { s: 'APPROVED_LIMITED', description: 'Serves with restrictions.', index: 3 }, + { s: 'APPROVED', description: 'Serves without restrictions.', index: 4 }, { s: 'AREA_OF_INTEREST_ONLY', description: 'Will not serve in targeted countries, but may serve for users who are\nsearching for information about the targeted countries.', + index: 5, }, ], _type: 'enum', @@ -109,90 +116,119 @@ module.exports = { placeholder_type_enum: { _description: 'Output only. The placeholder type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'SITELINK', description: 'Lets you show links in your ad to pages from your website, including the\nmain landing page.', + index: 2, }, { s: 'CALL', description: 'Lets you attach a phone number to an ad, allowing customers to call\ndirectly from the ad.', + index: 3, }, { s: 'APP', description: 'Lets you provide users with a link that points to a mobile app in\naddition to a website.', + index: 4, }, { s: 'LOCATION', description: 'Lets you show locations of businesses from your Google My Business\naccount in your ad. This helps people find your locations by showing your\nads with your address, a map to your location, or the distance to your\nbusiness. This extension type is useful to draw customers to your\nbrick-and-mortar location.', + index: 5, }, { s: 'AFFILIATE_LOCATION', description: 'If you sell your product through retail chains, affiliate location\nextensions let you show nearby stores that carry your products.', + index: 6, }, { s: 'CALLOUT', description: 'Lets you include additional text with your search ads that provide\ndetailed information about your business, including products and services\nyou offer. Callouts appear in ads at the top and bottom of Google search\nresults.', + index: 7, }, { s: 'STRUCTURED_SNIPPET', description: 'Lets you add more info to your ad, specific to some predefined categories\nsuch as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values\nare required.', + index: 8, }, { s: 'MESSAGE', description: 'Allows users to see your ad, click an icon, and contact you directly by\ntext message. With one tap on your ad, people can contact you to book an\nappointment, get a quote, ask for information, or request a service.', + index: 9, }, { s: 'PRICE', description: 'Lets you display prices for a list of items along with your ads. A price\nfeed is composed of three to eight price table rows.', + index: 10, }, { s: 'PROMOTION', description: 'Allows you to highlight sales and other promotions that let users see how\nthey can save by buying now.', + index: 11, }, { s: 'AD_CUSTOMIZER', description: 'Lets you dynamically inject custom data into the title and description\nof your ads.', + index: 12, }, { s: 'DYNAMIC_EDUCATION', description: 'Indicates that this feed is for education dynamic remarketing.', + index: 13, + }, + { + s: 'DYNAMIC_FLIGHT', + description: 'Indicates that this feed is for flight dynamic remarketing.', + index: 14, }, - { s: 'DYNAMIC_FLIGHT', description: 'Indicates that this feed is for flight dynamic remarketing.' }, { s: 'DYNAMIC_CUSTOM', description: "Indicates that this feed is for a custom dynamic remarketing type. Use\nthis only if the other business types don't apply to your products or\nservices.", + index: 15, }, { s: 'DYNAMIC_HOTEL', description: 'Indicates that this feed is for hotels and rentals dynamic remarketing.', + index: 16, }, { s: 'DYNAMIC_REAL_ESTATE', description: 'Indicates that this feed is for real estate dynamic remarketing.', + index: 17, + }, + { + s: 'DYNAMIC_TRAVEL', + description: 'Indicates that this feed is for travel dynamic remarketing.', + index: 18, }, - { s: 'DYNAMIC_TRAVEL', description: 'Indicates that this feed is for travel dynamic remarketing.' }, { s: 'DYNAMIC_LOCAL', description: 'Indicates that this feed is for local deals dynamic remarketing.', + index: 19, + }, + { + s: 'DYNAMIC_JOB', + description: 'Indicates that this feed is for job dynamic remarketing.', + index: 20, }, - { s: 'DYNAMIC_JOB', description: 'Indicates that this feed is for job dynamic remarketing.' }, ], _type: 'enum', }, @@ -271,35 +307,39 @@ module.exports = { device: { _description: 'The type of device that failed to load the URL.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'DESKTOP', description: "Landing page doesn't work on desktop device." }, - { s: 'ANDROID', description: "Landing page doesn't work on Android device." }, - { s: 'IOS', description: "Landing page doesn't work on iOS device." }, + { s: 'DESKTOP', description: "Landing page doesn't work on desktop device.", index: 2 }, + { s: 'ANDROID', description: "Landing page doesn't work on Android device.", index: 3 }, + { s: 'IOS', description: "Landing page doesn't work on iOS device.", index: 4 }, ], _type: 'enum', }, dns_error_type: { _description: 'The type of DNS error.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, { s: 'HOSTNAME_NOT_FOUND', description: 'Host name not found in DNS when fetching landing page.', + index: 2, }, { s: 'GOOGLE_CRAWLER_DNS_ISSUE', description: "Google internal crawler issue when communicating with DNS. This error\ndoesn't mean the landing page doesn't work. Google will recrawl the\nlanding page.", + index: 3, }, ], _type: 'enum', @@ -348,27 +388,35 @@ module.exports = { type: { _description: 'Describes the negative or positive effect this policy will have on serving.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, + }, + { s: 'PROHIBITED', description: 'The resource will not be served.', index: 2 }, + { + s: 'LIMITED', + description: 'The resource will not be served under some circumstances.', + index: 4, }, - { s: 'PROHIBITED', description: 'The resource will not be served.' }, - { s: 'LIMITED', description: 'The resource will not be served under some circumstances.' }, { s: 'FULLY_LIMITED', description: 'The resource cannot serve at all because of the current targeting\ncriteria.', + index: 8, }, { s: 'DESCRIPTIVE', description: 'May be of interest, but does not limit how the resource is served.', + index: 5, }, - { s: 'BROADENING', description: 'Could increase coverage beyond normal.' }, + { s: 'BROADENING', description: 'Could increase coverage beyond normal.', index: 6 }, { s: 'AREA_OF_INTEREST_ONLY', description: 'Constrained for all targeted countries, but may serve in other countries\nthrough area of interest.', + index: 7, }, ], _type: 'enum', @@ -377,16 +425,18 @@ module.exports = { quality_approval_status: { _description: 'Output only. Placeholder type quality evaluation approval status.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'APPROVED', description: 'Meets all quality expectations.' }, + { s: 'APPROVED', description: 'Meets all quality expectations.', index: 2 }, { s: 'DISAPPROVED', description: 'Does not meet some quality expectations. The specific reason is found in\nthe quality_disapproval_reasons field.', + index: 3, }, ], _type: 'enum', @@ -398,23 +448,30 @@ module.exports = { review_status: { _description: 'Output only. Where the placeholder type is in the review process.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, + }, + { s: 'REVIEW_IN_PROGRESS', description: 'Currently under review.', index: 2 }, + { + s: 'REVIEWED', + description: 'Primary review complete. Other reviews may be continuing.', + index: 3, }, - { s: 'REVIEW_IN_PROGRESS', description: 'Currently under review.' }, - { s: 'REVIEWED', description: 'Primary review complete. Other reviews may be continuing.' }, { s: 'UNDER_APPEAL', description: 'The resource has been resubmitted for approval or its policy decision has\nbeen appealed.', + index: 4, }, { s: 'ELIGIBLE_MAY_SERVE', description: 'The resource is eligible and may be serving but could still undergo\nfurther review.', + index: 5, }, ], _type: 'enum', @@ -700,14 +757,15 @@ module.exports = { validation_status: { _description: 'Output only. The validation status of the palceholder type.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'PENDING', description: 'Validation pending.' }, - { s: 'INVALID', description: 'An error was found.' }, - { s: 'VALID', description: 'Feed item is semantically well-formed.' }, + { s: 'PENDING', description: 'Validation pending.', index: 2 }, + { s: 'INVALID', description: 'An error was found.', index: 3 }, + { s: 'VALID', description: 'Feed item is semantically well-formed.', index: 4 }, ], _type: 'enum', }, @@ -725,10 +783,14 @@ module.exports = { status: { _description: 'Output only. Status of the feed item. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed item is enabled.' }, - { s: 'REMOVED', description: 'Feed item has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed item is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed item has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/feed_item_target/meta.js b/docs/content/entities/feed_item_target/meta.js index 5dc29f29..02697df6 100644 --- a/docs/content/entities/feed_item_target/meta.js +++ b/docs/content/entities/feed_item_target/meta.js @@ -9,15 +9,15 @@ module.exports = { _description: 'Day of the week the schedule applies to. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MONDAY', description: 'Monday.' }, - { s: 'TUESDAY', description: 'Tuesday.' }, - { s: 'WEDNESDAY', description: 'Wednesday.' }, - { s: 'THURSDAY', description: 'Thursday.' }, - { s: 'FRIDAY', description: 'Friday.' }, - { s: 'SATURDAY', description: 'Saturday.' }, - { s: 'SUNDAY', description: 'Sunday.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MONDAY', description: 'Monday.', index: 2 }, + { s: 'TUESDAY', description: 'Tuesday.', index: 3 }, + { s: 'WEDNESDAY', description: 'Wednesday.', index: 4 }, + { s: 'THURSDAY', description: 'Thursday.', index: 5 }, + { s: 'FRIDAY', description: 'Friday.', index: 6 }, + { s: 'SATURDAY', description: 'Saturday.', index: 7 }, + { s: 'SUNDAY', description: 'Sunday.', index: 8 }, ], _type: 'enum', }, @@ -30,12 +30,12 @@ module.exports = { _description: 'Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end minute. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ZERO', description: 'Zero minutes past the hour.' }, - { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.' }, - { s: 'THIRTY', description: 'Thirty minutes past the hour.' }, - { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ZERO', description: 'Zero minutes past the hour.', index: 2 }, + { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.', index: 3 }, + { s: 'THIRTY', description: 'Thirty minutes past the hour.', index: 4 }, + { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.', index: 5 }, ], _type: 'enum', }, @@ -48,12 +48,12 @@ module.exports = { _description: 'Minutes after the start hour at which this schedule starts. This field is required for CREATE operations and is prohibited on UPDATE operations.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ZERO', description: 'Zero minutes past the hour.' }, - { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.' }, - { s: 'THIRTY', description: 'Thirty minutes past the hour.' }, - { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ZERO', description: 'Zero minutes past the hour.', index: 2 }, + { s: 'FIFTEEN', description: 'Fifteen minutes past the hour.', index: 3 }, + { s: 'THIRTY', description: 'Thirty minutes past the hour.', index: 4 }, + { s: 'FORTY_FIVE', description: 'Forty-five minutes past the hour.', index: 5 }, ], _type: 'enum', }, @@ -62,9 +62,13 @@ module.exports = { device: { _description: 'Immutable. The targeted device.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'MOBILE', description: 'Mobile.', index: 2 }, ], _oneof: 'target', _type: 'enum', @@ -80,11 +84,15 @@ module.exports = { feed_item_target_type: { _description: 'Output only. The target type of this feed item target. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CAMPAIGN', description: 'Feed item targets a campaign.' }, - { s: 'AD_GROUP', description: 'Feed item targets an ad group.' }, - { s: 'CRITERION', description: 'Feed item targets a criterion.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'CAMPAIGN', description: 'Feed item targets a campaign.', index: 2 }, + { s: 'AD_GROUP', description: 'Feed item targets an ad group.', index: 3 }, + { s: 'CRITERION', description: 'Feed item targets a criterion.', index: 4 }, ], _type: 'enum', }, @@ -99,14 +107,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -120,10 +129,14 @@ module.exports = { status: { _description: 'Output only. Status of the feed item target. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed item target is enabled.' }, - { s: 'REMOVED', description: 'Feed item target has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed item target is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed item target has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/feed_mapping/meta.js b/docs/content/entities/feed_mapping/meta.js index d29cee71..2451d7f9 100644 --- a/docs/content/entities/feed_mapping/meta.js +++ b/docs/content/entities/feed_mapping/meta.js @@ -8,77 +8,106 @@ module.exports = { ad_customizer_field: { _description: 'Immutable. Ad Customizer Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'INTEGER', description: 'Data Type: INT64. Integer value to be inserted.' }, - { s: 'PRICE', description: 'Data Type: STRING. Price value to be inserted.' }, - { s: 'DATE', description: 'Data Type: DATE_TIME. Date value to be inserted.' }, - { s: 'STRING', description: 'Data Type: STRING. String value to be inserted.' }, + { s: 'INTEGER', description: 'Data Type: INT64. Integer value to be inserted.', index: 2 }, + { s: 'PRICE', description: 'Data Type: STRING. Price value to be inserted.', index: 3 }, + { s: 'DATE', description: 'Data Type: DATE_TIME. Date value to be inserted.', index: 4 }, + { s: 'STRING', description: 'Data Type: STRING. String value to be inserted.', index: 5 }, ], _type: 'enum', }, affiliate_location_field: { _description: 'Output only. Affiliate Location Placeholder Fields. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'BUSINESS_NAME', description: 'Data Type: STRING. The name of the business.' }, - { s: 'ADDRESS_LINE_1', description: 'Data Type: STRING. Line 1 of the business address.' }, - { s: 'ADDRESS_LINE_2', description: 'Data Type: STRING. Line 2 of the business address.' }, - { s: 'CITY', description: 'Data Type: STRING. City of the business address.' }, - { s: 'PROVINCE', description: 'Data Type: STRING. Province of the business address.' }, - { s: 'POSTAL_CODE', description: 'Data Type: STRING. Postal code of the business address.' }, - { s: 'COUNTRY_CODE', description: 'Data Type: STRING. Country code of the business address.' }, - { s: 'PHONE_NUMBER', description: 'Data Type: STRING. Phone number of the business.' }, - { s: 'LANGUAGE_CODE', description: 'Data Type: STRING. Language code of the business.' }, - { s: 'CHAIN_ID', description: 'Data Type: INT64. ID of the chain.' }, - { s: 'CHAIN_NAME', description: 'Data Type: STRING. Name of the chain.' }, + { s: 'BUSINESS_NAME', description: 'Data Type: STRING. The name of the business.', index: 2 }, + { + s: 'ADDRESS_LINE_1', + description: 'Data Type: STRING. Line 1 of the business address.', + index: 3, + }, + { + s: 'ADDRESS_LINE_2', + description: 'Data Type: STRING. Line 2 of the business address.', + index: 4, + }, + { s: 'CITY', description: 'Data Type: STRING. City of the business address.', index: 5 }, + { s: 'PROVINCE', description: 'Data Type: STRING. Province of the business address.', index: 6 }, + { + s: 'POSTAL_CODE', + description: 'Data Type: STRING. Postal code of the business address.', + index: 7, + }, + { + s: 'COUNTRY_CODE', + description: 'Data Type: STRING. Country code of the business address.', + index: 8, + }, + { s: 'PHONE_NUMBER', description: 'Data Type: STRING. Phone number of the business.', index: 9 }, + { s: 'LANGUAGE_CODE', description: 'Data Type: STRING. Language code of the business.', index: 10 }, + { s: 'CHAIN_ID', description: 'Data Type: INT64. ID of the chain.', index: 11 }, + { s: 'CHAIN_NAME', description: 'Data Type: STRING. Name of the chain.', index: 12 }, ], _type: 'enum', }, app_field: { _description: 'Immutable. App Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'STORE', description: 'Data Type: INT64. The application store that the target application\nbelongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play\nStore.', + index: 2, + }, + { + s: 'ID', + description: 'Data Type: STRING. The store-specific ID for the target application.', + index: 3, }, - { s: 'ID', description: 'Data Type: STRING. The store-specific ID for the target application.' }, { s: 'LINK_TEXT', description: 'Data Type: STRING. The visible text displayed when the link is rendered\nin an ad.', + index: 4, }, - { s: 'URL', description: 'Data Type: STRING. The destination URL of the in-app link.' }, + { s: 'URL', description: 'Data Type: STRING. The destination URL of the in-app link.', index: 5 }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded\nURLs.', + index: 6, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final Mobile URLs for the in-app link when using\nUpgraded URLs.', + index: 7, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the in-app link when using Upgraded\nURLs.', + index: 8, }, { s: 'FINAL_URL_SUFFIX', description: 'Data Type: STRING. Final URL suffix for the in-app link when using\nparallel tracking.', + index: 9, }, ], _type: 'enum', @@ -86,33 +115,39 @@ module.exports = { call_field: { _description: 'Immutable. Call Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'PHONE_NUMBER', description: "Data Type: STRING. The advertiser's phone number to append to the ad.", + index: 2, }, { s: 'COUNTRY_CODE', description: "Data Type: STRING. Uppercase two-letter country code of the advertiser's\nphone number.", + index: 3, }, { s: 'TRACKED', description: 'Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default:\ntrue.', + index: 4, }, { s: 'CONVERSION_TYPE_ID', description: 'Data Type: INT64. The ID of an AdCallMetricsConversion object. This\nobject contains the phoneCallDurationfield which is the minimum duration\n(in seconds) of a call to be considered a conversion.', + index: 5, }, { s: 'CONVERSION_REPORTING_STATE', description: 'Data Type: STRING. Indicates whether this call extension uses its own\ncall conversion setting or follows the account level setting.\nValid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and\nUSE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.', + index: 6, }, ], _type: 'enum', @@ -120,122 +155,148 @@ module.exports = { callout_field: { _description: 'Immutable. Callout Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'CALLOUT_TEXT', description: 'Data Type: STRING. Callout text.' }, + { s: 'CALLOUT_TEXT', description: 'Data Type: STRING. Callout text.', index: 2 }, ], _type: 'enum', }, custom_field: { _description: 'Immutable. Custom Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'ID', description: 'Data Type: STRING. Required. Combination ID and ID2 must be unique per\noffer.', + index: 2, + }, + { + s: 'ID2', + description: 'Data Type: STRING. Combination ID and ID2 must be unique per offer.', + index: 3, }, - { s: 'ID2', description: 'Data Type: STRING. Combination ID and ID2 must be unique per offer.' }, { s: 'ITEM_TITLE', description: 'Data Type: STRING. Required. Main headline with product name to be shown\nin dynamic ad.', + index: 4, }, { s: 'ITEM_SUBTITLE', description: 'Data Type: STRING. Optional text to be shown in the image ad.', + index: 5, }, { s: 'ITEM_DESCRIPTION', description: 'Data Type: STRING. Optional description of the product to be shown in the\nad.', + index: 6, }, { s: 'ITEM_ADDRESS', description: 'Data Type: STRING. Full address of your offer or service, including\npostal code. This will be used to identify the closest product to the\nuser when there are multiple offers in the feed that are relevant to the\nuser.', + index: 7, }, { s: 'PRICE', description: 'Data Type: STRING. Price to be shown in the ad.\nExample: "100.00 USD"', + index: 8, }, { s: 'FORMATTED_PRICE', description: 'Data Type: STRING. Formatted price to be shown in the ad.\nExample: "Starting at $100.00 USD", "$80 - $100"', + index: 9, }, { s: 'SALE_PRICE', description: 'Data Type: STRING. Sale price to be shown in the ad.\nExample: "80.00 USD"', + index: 10, }, { s: 'FORMATTED_SALE_PRICE', description: 'Data Type: STRING. Formatted sale price to be shown in the ad.\nExample: "On sale for $80.00", "$60 - $80"', + index: 11, }, { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad. Highly recommended for\nimage ads.', + index: 12, }, { s: 'ITEM_CATEGORY', description: 'Data Type: STRING. Used as a recommendation engine signal to serve items\nin the same category.', + index: 13, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Final URLs for the ad when using Upgraded\nURLs. User will be redirected to these URLs when they click on an ad, or\nwhen they click on a specific product for ads that have multiple\nproducts.', + index: 14, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 15, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 16, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 17, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 18, }, { s: 'SIMILAR_IDS', description: 'Data Type: STRING_LIST. List of recommended IDs to show together with\nthis item.', + index: 19, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 20 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 21 }, ], _type: 'enum', }, dsa_page_feed_field: { _description: 'Immutable. Dynamic Search Ad Page Feed Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'PAGE_URL', description: 'Data Type: URL or URL_LIST. URL of the web page you want to target.', + index: 2, }, { s: 'LABEL', description: 'Data Type: STRING_LIST. The labels that will help you target ads within\nyour page feed.', + index: 3, }, ], _type: 'enum', @@ -243,73 +304,95 @@ module.exports = { education_field: { _description: 'Immutable. Education Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'PROGRAM_ID', description: 'Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID\nmust be unique per offer.', + index: 2, }, { s: 'LOCATION_ID', description: 'Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be\nunique per offer.', + index: 3, }, { s: 'PROGRAM_NAME', description: 'Data Type: STRING. Required. Main headline with program name to be shown\nin dynamic ad.', + index: 4, }, { s: 'AREA_OF_STUDY', description: 'Data Type: STRING. Area of study that can be shown in dynamic ad.', + index: 5, }, { s: 'PROGRAM_DESCRIPTION', description: 'Data Type: STRING. Description of program that can be shown in dynamic\nad.', + index: 6, }, { s: 'SCHOOL_NAME', description: 'Data Type: STRING. Name of school that can be shown in dynamic ad.', + index: 7, + }, + { + s: 'ADDRESS', + description: 'Data Type: STRING. Complete school address, including postal code.', + index: 8, + }, + { + s: 'THUMBNAIL_IMAGE_URL', + description: 'Data Type: URL. Image to be displayed in ads.', + index: 9, }, - { s: 'ADDRESS', description: 'Data Type: STRING. Complete school address, including postal code.' }, - { s: 'THUMBNAIL_IMAGE_URL', description: 'Data Type: URL. Image to be displayed in ads.' }, { s: 'ALTERNATIVE_THUMBNAIL_IMAGE_URL', description: 'Data Type: URL. Alternative hosted file of image to be used in the ad.', + index: 10, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Required. Final URLs to be used in ad when using\nUpgraded URLs; the more specific the better (e.g. the individual URL of a\nspecific program and its location).', + index: 11, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 12, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 13, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 14, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 15, }, { s: 'SIMILAR_PROGRAM_IDS', description: 'Data Type: STRING_LIST. List of recommended program IDs to show together\nwith this item.', + index: 16, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 17 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 18 }, ], _type: 'enum', }, @@ -322,379 +405,489 @@ module.exports = { flight_field: { _description: 'Immutable. Flight Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'DESTINATION_ID', description: 'Data Type: STRING. Required. Destination id. Example: PAR, LON.\nFor feed items that only have destination id, destination id must be a\nunique key. For feed items that have both destination id and origin id,\nthen the combination must be a unique key.', + index: 2, }, { s: 'ORIGIN_ID', description: 'Data Type: STRING. Origin id. Example: PAR, LON.\nOptional. Combination of destination id and origin id must be unique per\noffer.', + index: 3, }, { s: 'FLIGHT_DESCRIPTION', description: 'Data Type: STRING. Required. Main headline with product name to be shown\nin dynamic ad.', + index: 4, + }, + { s: 'ORIGIN_NAME', description: 'Data Type: STRING. Shorter names are recommended.', index: 5 }, + { + s: 'DESTINATION_NAME', + description: 'Data Type: STRING. Shorter names are recommended.', + index: 6, }, - { s: 'ORIGIN_NAME', description: 'Data Type: STRING. Shorter names are recommended.' }, - { s: 'DESTINATION_NAME', description: 'Data Type: STRING. Shorter names are recommended.' }, { s: 'FLIGHT_PRICE', description: 'Data Type: STRING. Price to be shown in the ad.\nExample: "100.00 USD"', + index: 7, }, { s: 'FORMATTED_PRICE', description: 'Data Type: STRING. Formatted price to be shown in the ad.\nExample: "Starting at $100.00 USD", "$80 - $100"', + index: 8, }, { s: 'FLIGHT_SALE_PRICE', description: 'Data Type: STRING. Sale price to be shown in the ad.\nExample: "80.00 USD"', + index: 9, }, { s: 'FORMATTED_SALE_PRICE', description: 'Data Type: STRING. Formatted sale price to be shown in the ad.\nExample: "On sale for $80.00", "$60 - $80"', + index: 10, }, - { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.' }, + { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.', index: 11 }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded\nURLs. User will be redirected to these URLs when they click on an ad, or\nwhen they click on a specific flight for ads that show multiple\nflights.', + index: 12, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 13, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 14, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 15, }, { s: 'SIMILAR_DESTINATION_IDS', description: 'Data Type: STRING_LIST. List of recommended destination IDs to show\ntogether with this item.', + index: 16, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 17 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 18 }, ], _type: 'enum', }, hotel_field: { _description: 'Immutable. Hotel Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'PROPERTY_ID', description: 'Data Type: STRING. Required. Unique ID.' }, + { s: 'PROPERTY_ID', description: 'Data Type: STRING. Required. Unique ID.', index: 2 }, { s: 'PROPERTY_NAME', description: 'Data Type: STRING. Required. Main headline with property name to be shown\nin dynamic ad.', + index: 3, }, { s: 'DESTINATION_NAME', description: 'Data Type: STRING. Name of destination to be shown in dynamic ad.', + index: 4, }, { s: 'DESCRIPTION', description: 'Data Type: STRING. Description of destination to be shown in dynamic ad.', + index: 5, }, { s: 'ADDRESS', description: 'Data Type: STRING. Complete property address, including postal code.', + index: 6, }, { s: 'PRICE', description: 'Data Type: STRING. Price to be shown in the ad.\nExample: "100.00 USD"', + index: 7, }, { s: 'FORMATTED_PRICE', description: 'Data Type: STRING. Formatted price to be shown in the ad.\nExample: "Starting at $100.00 USD", "$80 - $100"', + index: 8, }, { s: 'SALE_PRICE', description: 'Data Type: STRING. Sale price to be shown in the ad.\nExample: "80.00 USD"', + index: 9, }, { s: 'FORMATTED_SALE_PRICE', description: 'Data Type: STRING. Formatted sale price to be shown in the ad.\nExample: "On sale for $80.00", "$60 - $80"', + index: 10, }, - { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.' }, + { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.', index: 11 }, { s: 'CATEGORY', description: 'Data Type: STRING. Category of property used to group like items together\nfor recommendation engine.', + index: 12, }, { s: 'STAR_RATING', description: 'Data Type: INT64. Star rating (1 to 5) used to group like items\ntogether for recommendation engine.', + index: 13, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 14, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded\nURLs. User will be redirected to these URLs when they click on an ad, or\nwhen they click on a specific flight for ads that show multiple\nflights.', + index: 15, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 16, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 17, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 18, }, { s: 'SIMILAR_PROPERTY_IDS', description: 'Data Type: STRING_LIST. List of recommended property IDs to show together\nwith this item.', + index: 19, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 20 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 21 }, ], _type: 'enum', }, job_field: { _description: 'Immutable. Job Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'JOB_ID', description: 'Data Type: STRING. Required. If only JOB_ID is specified, then it must be\nunique. If both JOB_ID and LOCATION_ID are specified, then the\npair must be unique.\nID) pair must be unique.', + index: 2, }, { s: 'LOCATION_ID', description: 'Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique\nper offer.', + index: 3, }, { s: 'TITLE', description: 'Data Type: STRING. Required. Main headline with job title to be shown in\ndynamic ad.', + index: 4, + }, + { + s: 'SUBTITLE', + description: 'Data Type: STRING. Job subtitle to be shown in dynamic ad.', + index: 5, }, - { s: 'SUBTITLE', description: 'Data Type: STRING. Job subtitle to be shown in dynamic ad.' }, { s: 'DESCRIPTION', description: 'Data Type: STRING. Description of job to be shown in dynamic ad.', + index: 6, }, { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad. Highly recommended for\nimage ads.', + index: 7, }, { s: 'CATEGORY', description: 'Data Type: STRING. Category of property used to group like items together\nfor recommendation engine.', + index: 8, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 9, }, { s: 'ADDRESS', description: 'Data Type: STRING. Complete property address, including postal code.', + index: 10, }, { s: 'SALARY', description: 'Data Type: STRING. Salary or salary range of job to be shown in dynamic\nad.', + index: 11, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Required. Final URLs to be used in ad when using\nUpgraded URLs; the more specific the better (e.g. the individual URL of a\nspecific job and its location).', + index: 12, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 14, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 15, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 16, }, { s: 'SIMILAR_JOB_IDS', description: 'Data Type: STRING_LIST. List of recommended job IDs to show together with\nthis item.', + index: 17, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 18 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 19 }, ], _type: 'enum', }, local_field: { _description: 'Immutable. Local Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DEAL_ID', description: 'Data Type: STRING. Required. Unique ID.' }, + { s: 'DEAL_ID', description: 'Data Type: STRING. Required. Unique ID.', index: 2 }, { s: 'DEAL_NAME', description: 'Data Type: STRING. Required. Main headline with local deal title to be\nshown in dynamic ad.', + index: 3, + }, + { + s: 'SUBTITLE', + description: 'Data Type: STRING. Local deal subtitle to be shown in dynamic ad.', + index: 4, }, - { s: 'SUBTITLE', description: 'Data Type: STRING. Local deal subtitle to be shown in dynamic ad.' }, { s: 'DESCRIPTION', description: 'Data Type: STRING. Description of local deal to be shown in dynamic ad.', + index: 5, }, { s: 'PRICE', description: 'Data Type: STRING. Price to be shown in the ad. Highly recommended for\ndynamic ads. Example: "100.00 USD"', + index: 6, }, { s: 'FORMATTED_PRICE', description: 'Data Type: STRING. Formatted price to be shown in the ad.\nExample: "Starting at $100.00 USD", "$80 - $100"', + index: 7, }, { s: 'SALE_PRICE', description: 'Data Type: STRING. Sale price to be shown in the ad.\nExample: "80.00 USD"', + index: 8, }, { s: 'FORMATTED_SALE_PRICE', description: 'Data Type: STRING. Formatted sale price to be shown in the ad.\nExample: "On sale for $80.00", "$60 - $80"', + index: 9, }, - { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.' }, + { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.', index: 10 }, { s: 'ADDRESS', description: 'Data Type: STRING. Complete property address, including postal code.', + index: 11, }, { s: 'CATEGORY', description: 'Data Type: STRING. Category of local deal used to group like items\ntogether for recommendation engine.', + index: 12, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 13, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Required. Final URLs to be used in ad when using\nUpgraded URLs; the more specific the better (e.g. the individual URL of a\nspecific local deal and its location).', + index: 14, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 15, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 16, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 17, }, { s: 'SIMILAR_DEAL_IDS', description: 'Data Type: STRING_LIST. List of recommended local deal IDs to show\ntogether with this item.', + index: 18, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 19 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 20 }, ], _type: 'enum', }, location_extension_targeting_field: { _description: 'Immutable. Location Target Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'ADDRESS_LINE_1', + description: 'Data Type: STRING. Line 1 of the business address.', + index: 2, + }, + { + s: 'ADDRESS_LINE_2', + description: 'Data Type: STRING. Line 2 of the business address.', + index: 3, + }, + { s: 'CITY', description: 'Data Type: STRING. City of the business address.', index: 4 }, + { s: 'PROVINCE', description: 'Data Type: STRING. Province of the business address.', index: 5 }, + { + s: 'POSTAL_CODE', + description: 'Data Type: STRING. Postal code of the business address.', + index: 6, + }, + { + s: 'COUNTRY_CODE', + description: 'Data Type: STRING. Country code of the business address.', + index: 7, }, - { s: 'ADDRESS_LINE_1', description: 'Data Type: STRING. Line 1 of the business address.' }, - { s: 'ADDRESS_LINE_2', description: 'Data Type: STRING. Line 2 of the business address.' }, - { s: 'CITY', description: 'Data Type: STRING. City of the business address.' }, - { s: 'PROVINCE', description: 'Data Type: STRING. Province of the business address.' }, - { s: 'POSTAL_CODE', description: 'Data Type: STRING. Postal code of the business address.' }, - { s: 'COUNTRY_CODE', description: 'Data Type: STRING. Country code of the business address.' }, ], _type: 'enum', }, location_field: { _description: 'Output only. Location Placeholder Fields. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'BUSINESS_NAME', description: 'Data Type: STRING. The name of the business.', index: 2 }, + { + s: 'ADDRESS_LINE_1', + description: 'Data Type: STRING. Line 1 of the business address.', + index: 3, + }, + { + s: 'ADDRESS_LINE_2', + description: 'Data Type: STRING. Line 2 of the business address.', + index: 4, + }, + { s: 'CITY', description: 'Data Type: STRING. City of the business address.', index: 5 }, + { s: 'PROVINCE', description: 'Data Type: STRING. Province of the business address.', index: 6 }, + { + s: 'POSTAL_CODE', + description: 'Data Type: STRING. Postal code of the business address.', + index: 7, + }, + { + s: 'COUNTRY_CODE', + description: 'Data Type: STRING. Country code of the business address.', + index: 8, }, - { s: 'BUSINESS_NAME', description: 'Data Type: STRING. The name of the business.' }, - { s: 'ADDRESS_LINE_1', description: 'Data Type: STRING. Line 1 of the business address.' }, - { s: 'ADDRESS_LINE_2', description: 'Data Type: STRING. Line 2 of the business address.' }, - { s: 'CITY', description: 'Data Type: STRING. City of the business address.' }, - { s: 'PROVINCE', description: 'Data Type: STRING. Province of the business address.' }, - { s: 'POSTAL_CODE', description: 'Data Type: STRING. Postal code of the business address.' }, - { s: 'COUNTRY_CODE', description: 'Data Type: STRING. Country code of the business address.' }, - { s: 'PHONE_NUMBER', description: 'Data Type: STRING. Phone number of the business.' }, + { s: 'PHONE_NUMBER', description: 'Data Type: STRING. Phone number of the business.', index: 9 }, ], _type: 'enum', }, message_field: { _description: 'Immutable. Message Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'BUSINESS_NAME', description: 'Data Type: STRING. The name of your business.' }, - { s: 'COUNTRY_CODE', description: 'Data Type: STRING. Country code of phone number.' }, + { s: 'BUSINESS_NAME', description: 'Data Type: STRING. The name of your business.', index: 2 }, + { s: 'COUNTRY_CODE', description: 'Data Type: STRING. Country code of phone number.', index: 3 }, { s: 'PHONE_NUMBER', description: "Data Type: STRING. A phone number that's capable of sending and receiving\ntext messages.", + index: 4, }, { s: 'MESSAGE_EXTENSION_TEXT', description: 'Data Type: STRING. The text that will go in your click-to-message ad.', + index: 5, }, { s: 'MESSAGE_TEXT', description: "Data Type: STRING. The message text automatically shows in people's\nmessaging apps when they tap to send you a message.", + index: 6, }, ], _type: 'enum', @@ -702,234 +895,312 @@ module.exports = { price_field: { _description: 'Immutable. Price Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'TYPE', description: 'Data Type: STRING. The type of your price feed. Must match one of the\npredefined price feed type exactly.', + index: 2, }, { s: 'PRICE_QUALIFIER', description: 'Data Type: STRING. The qualifier of each price. Must match one of the\npredefined price qualifiers exactly.', + index: 3, }, { s: 'TRACKING_TEMPLATE', description: 'Data Type: URL. Tracking template for the price feed when using Upgraded\nURLs.', + index: 4, }, { s: 'LANGUAGE', description: 'Data Type: STRING. Language of the price feed. Must match one of the\navailable available locale codes exactly.', + index: 5, }, { s: 'FINAL_URL_SUFFIX', description: 'Data Type: STRING. Final URL suffix for the price feed when using\nparallel tracking.', + index: 6, + }, + { + s: 'ITEM_1_HEADER', + description: 'Data Type: STRING. The header of item 1 of the table.', + index: 100, }, - { s: 'ITEM_1_HEADER', description: 'Data Type: STRING. The header of item 1 of the table.' }, { s: 'ITEM_1_DESCRIPTION', description: 'Data Type: STRING. The description of item 1 of the table.', + index: 101, }, { s: 'ITEM_1_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 1 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 102, }, { s: 'ITEM_1_UNIT', description: 'Data Type: STRING. The price unit of item 1 of the table. Must match one\nof the predefined price units.', + index: 103, }, { s: 'ITEM_1_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 1 of the table when using\nUpgraded URLs.', + index: 104, }, { s: 'ITEM_1_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 1 of the table when\nusing Upgraded URLs.', + index: 105, + }, + { + s: 'ITEM_2_HEADER', + description: 'Data Type: STRING. The header of item 2 of the table.', + index: 200, }, - { s: 'ITEM_2_HEADER', description: 'Data Type: STRING. The header of item 2 of the table.' }, { s: 'ITEM_2_DESCRIPTION', description: 'Data Type: STRING. The description of item 2 of the table.', + index: 201, }, { s: 'ITEM_2_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 2 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 202, }, { s: 'ITEM_2_UNIT', description: 'Data Type: STRING. The price unit of item 2 of the table. Must match one\nof the predefined price units.', + index: 203, }, { s: 'ITEM_2_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 2 of the table when using\nUpgraded URLs.', + index: 204, }, { s: 'ITEM_2_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 2 of the table when\nusing Upgraded URLs.', + index: 205, + }, + { + s: 'ITEM_3_HEADER', + description: 'Data Type: STRING. The header of item 3 of the table.', + index: 300, }, - { s: 'ITEM_3_HEADER', description: 'Data Type: STRING. The header of item 3 of the table.' }, { s: 'ITEM_3_DESCRIPTION', description: 'Data Type: STRING. The description of item 3 of the table.', + index: 301, }, { s: 'ITEM_3_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 3 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 302, }, { s: 'ITEM_3_UNIT', description: 'Data Type: STRING. The price unit of item 3 of the table. Must match one\nof the predefined price units.', + index: 303, }, { s: 'ITEM_3_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 3 of the table when using\nUpgraded URLs.', + index: 304, }, { s: 'ITEM_3_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 3 of the table when\nusing Upgraded URLs.', + index: 305, + }, + { + s: 'ITEM_4_HEADER', + description: 'Data Type: STRING. The header of item 4 of the table.', + index: 400, }, - { s: 'ITEM_4_HEADER', description: 'Data Type: STRING. The header of item 4 of the table.' }, { s: 'ITEM_4_DESCRIPTION', description: 'Data Type: STRING. The description of item 4 of the table.', + index: 401, }, { s: 'ITEM_4_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 4 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 402, }, { s: 'ITEM_4_UNIT', description: 'Data Type: STRING. The price unit of item 4 of the table. Must match one\nof the predefined price units.', + index: 403, }, { s: 'ITEM_4_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 4 of the table when using\nUpgraded URLs.', + index: 404, }, { s: 'ITEM_4_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 4 of the table when\nusing Upgraded URLs.', + index: 405, + }, + { + s: 'ITEM_5_HEADER', + description: 'Data Type: STRING. The header of item 5 of the table.', + index: 500, }, - { s: 'ITEM_5_HEADER', description: 'Data Type: STRING. The header of item 5 of the table.' }, { s: 'ITEM_5_DESCRIPTION', description: 'Data Type: STRING. The description of item 5 of the table.', + index: 501, }, { s: 'ITEM_5_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 5 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 502, }, { s: 'ITEM_5_UNIT', description: 'Data Type: STRING. The price unit of item 5 of the table. Must match one\nof the predefined price units.', + index: 503, }, { s: 'ITEM_5_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 5 of the table when using\nUpgraded URLs.', + index: 504, }, { s: 'ITEM_5_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 5 of the table when\nusing Upgraded URLs.', + index: 505, + }, + { + s: 'ITEM_6_HEADER', + description: 'Data Type: STRING. The header of item 6 of the table.', + index: 600, }, - { s: 'ITEM_6_HEADER', description: 'Data Type: STRING. The header of item 6 of the table.' }, { s: 'ITEM_6_DESCRIPTION', description: 'Data Type: STRING. The description of item 6 of the table.', + index: 601, }, { s: 'ITEM_6_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 6 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 602, }, { s: 'ITEM_6_UNIT', description: 'Data Type: STRING. The price unit of item 6 of the table. Must match one\nof the predefined price units.', + index: 603, }, { s: 'ITEM_6_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 6 of the table when using\nUpgraded URLs.', + index: 604, }, { s: 'ITEM_6_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 6 of the table when\nusing Upgraded URLs.', + index: 605, + }, + { + s: 'ITEM_7_HEADER', + description: 'Data Type: STRING. The header of item 7 of the table.', + index: 700, }, - { s: 'ITEM_7_HEADER', description: 'Data Type: STRING. The header of item 7 of the table.' }, { s: 'ITEM_7_DESCRIPTION', description: 'Data Type: STRING. The description of item 7 of the table.', + index: 701, }, { s: 'ITEM_7_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 7 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 702, }, { s: 'ITEM_7_UNIT', description: 'Data Type: STRING. The price unit of item 7 of the table. Must match one\nof the predefined price units.', + index: 703, }, { s: 'ITEM_7_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 7 of the table when using\nUpgraded URLs.', + index: 704, }, { s: 'ITEM_7_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 7 of the table when\nusing Upgraded URLs.', + index: 705, + }, + { + s: 'ITEM_8_HEADER', + description: 'Data Type: STRING. The header of item 8 of the table.', + index: 800, }, - { s: 'ITEM_8_HEADER', description: 'Data Type: STRING. The header of item 8 of the table.' }, { s: 'ITEM_8_DESCRIPTION', description: 'Data Type: STRING. The description of item 8 of the table.', + index: 801, }, { s: 'ITEM_8_PRICE', description: 'Data Type: MONEY. The price (money with currency) of item 8 of the table,\ne.g., 30 USD. The currency must match one of the available currencies.', + index: 802, }, { s: 'ITEM_8_UNIT', description: 'Data Type: STRING. The price unit of item 8 of the table. Must match one\nof the predefined price units.', + index: 803, }, { s: 'ITEM_8_FINAL_URLS', description: 'Data Type: URL_LIST. The final URLs of item 8 of the table when using\nUpgraded URLs.', + index: 804, }, { s: 'ITEM_8_FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. The final mobile URLs of item 8 of the table when\nusing Upgraded URLs.', + index: 805, }, ], _type: 'enum', @@ -937,63 +1208,80 @@ module.exports = { promotion_field: { _description: 'Immutable. Promotion Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'PROMOTION_TARGET', description: 'Data Type: STRING. The text that appears on the ad when the extension is\nshown.', + index: 2, }, { s: 'DISCOUNT_MODIFIER', description: 'Data Type: STRING. Allows you to add "up to" phrase to the promotion,\nin case you have variable promotion rates.', + index: 3, }, { s: 'PERCENT_OFF', description: 'Data Type: INT64. Takes a value in micros, where 1 million micros\nrepresents 1%, and is shown as a percentage when rendered.', + index: 4, }, { s: 'MONEY_AMOUNT_OFF', description: 'Data Type: MONEY. Requires a currency and an amount of money.', + index: 5, }, { s: 'PROMOTION_CODE', description: 'Data Type: STRING. A string that the user enters to get the discount.', + index: 6, }, { s: 'ORDERS_OVER_AMOUNT', description: 'Data Type: MONEY. A minimum spend before the user qualifies for the\npromotion.', + index: 7, }, - { s: 'PROMOTION_START', description: 'Data Type: DATE. The start date of the promotion.' }, - { s: 'PROMOTION_END', description: 'Data Type: DATE. The end date of the promotion.' }, + { + s: 'PROMOTION_START', + description: 'Data Type: DATE. The start date of the promotion.', + index: 8, + }, + { s: 'PROMOTION_END', description: 'Data Type: DATE. The end date of the promotion.', index: 9 }, { s: 'OCCASION', description: 'Data Type: STRING. Describes the associated event for the promotion using\none of the PromotionExtensionOccasion enum values, for example NEW_YEARS.', + index: 10, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded\nURLs.', + index: 11, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 12, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 13, }, { s: 'LANGUAGE', description: 'Data Type: STRING. A string represented by a language code for the\npromotion.', + index: 14, }, { s: 'FINAL_URL_SUFFIX', description: 'Data Type: STRING. Final URL suffix for the ad when using parallel\ntracking.', + index: 15, }, ], _type: 'enum', @@ -1001,104 +1289,135 @@ module.exports = { real_estate_field: { _description: 'Immutable. Real Estate Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'LISTING_ID', description: 'Data Type: STRING. Unique ID.' }, + { s: 'LISTING_ID', description: 'Data Type: STRING. Unique ID.', index: 2 }, { s: 'LISTING_NAME', description: 'Data Type: STRING. Main headline with listing name to be shown in dynamic\nad.', + index: 3, + }, + { + s: 'CITY_NAME', + description: 'Data Type: STRING. City name to be shown in dynamic ad.', + index: 4, }, - { s: 'CITY_NAME', description: 'Data Type: STRING. City name to be shown in dynamic ad.' }, { s: 'DESCRIPTION', description: 'Data Type: STRING. Description of listing to be shown in dynamic ad.', + index: 5, }, { s: 'ADDRESS', description: 'Data Type: STRING. Complete listing address, including postal code.', + index: 6, }, { s: 'PRICE', description: 'Data Type: STRING. Price to be shown in the ad.\nExample: "100.00 USD"', + index: 7, }, { s: 'FORMATTED_PRICE', description: 'Data Type: STRING. Formatted price to be shown in the ad.\nExample: "Starting at $100.00 USD", "$80 - $100"', + index: 8, }, - { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.' }, + { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.', index: 9 }, { s: 'PROPERTY_TYPE', description: 'Data Type: STRING. Type of property (house, condo, apartment, etc.) used\nto group like items together for recommendation engine.', + index: 10, }, { s: 'LISTING_TYPE', description: 'Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.)\nused to group like items together for recommendation engine.', + index: 11, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 12, }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded\nURLs; the more specific the better (e.g. the individual URL of a specific\nlisting and its location).', + index: 13, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 14, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 15, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 16, }, { s: 'SIMILAR_LISTING_IDS', description: 'Data Type: STRING_LIST. List of recommended listing IDs to show together\nwith this item.', + index: 17, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 18 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 19 }, ], _type: 'enum', }, sitelink_field: { _description: 'Immutable. Sitelink Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'TEXT', description: 'Data Type: STRING. The link text for your sitelink.', index: 2 }, + { + s: 'LINE_1', + description: 'Data Type: STRING. First line of the sitelink description.', + index: 3, + }, + { + s: 'LINE_2', + description: 'Data Type: STRING. Second line of the sitelink description.', + index: 4, }, - { s: 'TEXT', description: 'Data Type: STRING. The link text for your sitelink.' }, - { s: 'LINE_1', description: 'Data Type: STRING. First line of the sitelink description.' }, - { s: 'LINE_2', description: 'Data Type: STRING. Second line of the sitelink description.' }, { s: 'FINAL_URLS', description: 'Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded\nURLs.', + index: 5, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final Mobile URLs for the sitelink when using\nUpgraded URLs.', + index: 6, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the sitelink when using Upgraded\nURLs.', + index: 7, }, { s: 'FINAL_URL_SUFFIX', description: 'Data Type: STRING. Final URL suffix for sitelink when using parallel\ntracking.', + index: 8, }, ], _type: 'enum', @@ -1106,20 +1425,23 @@ module.exports = { structured_snippet_field: { _description: 'Immutable. Structured Snippet Placeholder Fields.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'HEADER', description: 'Data Type: STRING. The category of snippet of your products/services.\nMust match exactly one of the predefined structured snippets headers.\nFor a list, visit\nhttps://developers.google.com/adwords/api/docs/appendix/structured-snippet-headers', + index: 2, }, { s: 'SNIPPETS', description: 'Data Type: STRING_LIST. Text values that describe your products/services.\nAll text must be family safe. Special or non-ASCII characters are not\npermitted. A snippet can be at most 25 characters.', + index: 3, }, ], _type: 'enum', @@ -1127,88 +1449,109 @@ module.exports = { travel_field: { _description: 'Immutable. Travel Placeholder Fields', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'DESTINATION_ID', description: 'Data Type: STRING. Required. Destination id. Example: PAR, LON.\nFor feed items that only have destination id, destination id must be a\nunique key. For feed items that have both destination id and origin id,\nthen the combination must be a unique key.', + index: 2, }, { s: 'ORIGIN_ID', description: 'Data Type: STRING. Origin id. Example: PAR, LON.\nCombination of DESTINATION_ID and ORIGIN_ID must be\nunique per offer.', + index: 3, }, { s: 'TITLE', description: 'Data Type: STRING. Required. Main headline with name to be shown in\ndynamic ad.', + index: 4, }, { s: 'DESTINATION_NAME', description: 'Data Type: STRING. The destination name. Shorter names are recommended.', + index: 5, + }, + { + s: 'ORIGIN_NAME', + description: 'Data Type: STRING. Origin name. Shorter names are recommended.', + index: 6, }, - { s: 'ORIGIN_NAME', description: 'Data Type: STRING. Origin name. Shorter names are recommended.' }, { s: 'PRICE', description: 'Data Type: STRING. Price to be shown in the ad. Highly recommended for\ndynamic ads.\nExample: "100.00 USD"', + index: 7, }, { s: 'FORMATTED_PRICE', description: 'Data Type: STRING. Formatted price to be shown in the ad.\nExample: "Starting at $100.00 USD", "$80 - $100"', + index: 8, }, { s: 'SALE_PRICE', description: 'Data Type: STRING. Sale price to be shown in the ad.\nExample: "80.00 USD"', + index: 9, }, { s: 'FORMATTED_SALE_PRICE', description: 'Data Type: STRING. Formatted sale price to be shown in the ad.\nExample: "On sale for $80.00", "$60 - $80"', + index: 10, }, - { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.' }, + { s: 'IMAGE_URL', description: 'Data Type: URL. Image to be displayed in the ad.', index: 11 }, { s: 'CATEGORY', description: 'Data Type: STRING. Category of travel offer used to group like items\ntogether for recommendation engine.', + index: 12, }, { s: 'CONTEXTUAL_KEYWORDS', description: 'Data Type: STRING_LIST. Keywords used for product retrieval.', + index: 13, }, { s: 'DESTINATION_ADDRESS', description: 'Data Type: STRING. Address of travel offer, including postal code.', + index: 14, }, { s: 'FINAL_URL', description: 'Data Type: URL_LIST. Required. Final URLs to be used in ad, when using\nUpgraded URLs; the more specific the better (e.g. the individual URL of a\nspecific travel offer and its location).', + index: 15, }, { s: 'FINAL_MOBILE_URLS', description: 'Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded\nURLs.', + index: 16, }, { s: 'TRACKING_URL', description: 'Data Type: URL. Tracking template for the ad when using Upgraded URLs.', + index: 17, }, { s: 'ANDROID_APP_LINK', description: 'Data Type: STRING. Android app link. Must be formatted as:\nandroid-app://{package_id}/{scheme}/{host_path}.\nThe components are defined as follows:\npackage_id: app ID as specified in Google Play.\nscheme: the scheme to pass to the application. Can be HTTP, or a custom\n scheme.\nhost_path: identifies the specific content within your application.', + index: 18, }, { s: 'SIMILAR_DESTINATION_IDS', description: 'Data Type: STRING_LIST. List of recommended destination IDs to show\ntogether with this item.', + index: 19, }, - { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.' }, - { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.' }, + { s: 'IOS_APP_LINK', description: 'Data Type: STRING. iOS app link.', index: 20 }, + { s: 'IOS_APP_STORE_ID', description: 'Data Type: INT64. iOS app store ID.', index: 21 }, ], _type: 'enum', }, @@ -1217,15 +1560,21 @@ module.exports = { _description: 'Immutable. The criterion type of this mapping (i.e., if the mapping maps feed attributes to criterion fields).', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'LOCATION_EXTENSION_TARGETING', description: 'Allows campaign targeting at locations within a location feed.', + index: 4, }, { s: 'DSA_PAGE_FEED', description: 'Allows url targeting for your dynamic search ads within a page feed.', + index: 3, }, ], _oneof: 'target', @@ -1236,83 +1585,118 @@ module.exports = { _description: 'Immutable. The placeholder type of this mapping (i.e., if the mapping maps feed attributes to placeholder fields).', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, { s: 'SITELINK', description: 'Lets you show links in your ad to pages from your website, including the\nmain landing page.', + index: 2, }, { s: 'CALL', description: 'Lets you attach a phone number to an ad, allowing customers to call\ndirectly from the ad.', + index: 3, }, { s: 'APP', description: 'Lets you provide users with a link that points to a mobile app in\naddition to a website.', + index: 4, }, { s: 'LOCATION', description: 'Lets you show locations of businesses from your Google My Business\naccount in your ad. This helps people find your locations by showing your\nads with your address, a map to your location, or the distance to your\nbusiness. This extension type is useful to draw customers to your\nbrick-and-mortar location.', + index: 5, }, { s: 'AFFILIATE_LOCATION', description: 'If you sell your product through retail chains, affiliate location\nextensions let you show nearby stores that carry your products.', + index: 6, }, { s: 'CALLOUT', description: 'Lets you include additional text with your search ads that provide\ndetailed information about your business, including products and services\nyou offer. Callouts appear in ads at the top and bottom of Google search\nresults.', + index: 7, }, { s: 'STRUCTURED_SNIPPET', description: 'Lets you add more info to your ad, specific to some predefined categories\nsuch as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values\nare required.', + index: 8, }, { s: 'MESSAGE', description: 'Allows users to see your ad, click an icon, and contact you directly by\ntext message. With one tap on your ad, people can contact you to book an\nappointment, get a quote, ask for information, or request a service.', + index: 9, }, { s: 'PRICE', description: 'Lets you display prices for a list of items along with your ads. A price\nfeed is composed of three to eight price table rows.', + index: 10, }, { s: 'PROMOTION', description: 'Allows you to highlight sales and other promotions that let users see how\nthey can save by buying now.', + index: 11, }, { s: 'AD_CUSTOMIZER', description: 'Lets you dynamically inject custom data into the title and description\nof your ads.', + index: 12, }, { s: 'DYNAMIC_EDUCATION', description: 'Indicates that this feed is for education dynamic remarketing.', + index: 13, + }, + { + s: 'DYNAMIC_FLIGHT', + description: 'Indicates that this feed is for flight dynamic remarketing.', + index: 14, }, - { s: 'DYNAMIC_FLIGHT', description: 'Indicates that this feed is for flight dynamic remarketing.' }, { s: 'DYNAMIC_CUSTOM', description: "Indicates that this feed is for a custom dynamic remarketing type. Use\nthis only if the other business types don't apply to your products or\nservices.", + index: 15, }, { s: 'DYNAMIC_HOTEL', description: 'Indicates that this feed is for hotels and rentals dynamic remarketing.', + index: 16, }, { s: 'DYNAMIC_REAL_ESTATE', description: 'Indicates that this feed is for real estate dynamic remarketing.', + index: 17, + }, + { + s: 'DYNAMIC_TRAVEL', + description: 'Indicates that this feed is for travel dynamic remarketing.', + index: 18, + }, + { + s: 'DYNAMIC_LOCAL', + description: 'Indicates that this feed is for local deals dynamic remarketing.', + index: 19, + }, + { + s: 'DYNAMIC_JOB', + description: 'Indicates that this feed is for job dynamic remarketing.', + index: 20, }, - { s: 'DYNAMIC_TRAVEL', description: 'Indicates that this feed is for travel dynamic remarketing.' }, - { s: 'DYNAMIC_LOCAL', description: 'Indicates that this feed is for local deals dynamic remarketing.' }, - { s: 'DYNAMIC_JOB', description: 'Indicates that this feed is for job dynamic remarketing.' }, ], _oneof: 'target', _type: 'enum', @@ -1325,10 +1709,14 @@ module.exports = { status: { _description: 'Output only. Status of the feed mapping. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Feed mapping is enabled.' }, - { s: 'REMOVED', description: 'Feed mapping has been removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Feed mapping is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Feed mapping has been removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/geo_target_constant/meta.js b/docs/content/entities/geo_target_constant/meta.js index c7997d24..6e274087 100644 --- a/docs/content/entities/geo_target_constant/meta.js +++ b/docs/content/entities/geo_target_constant/meta.js @@ -20,13 +20,18 @@ module.exports = { status: { _description: 'Output only. Geo target constant status.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, + }, + { s: 'ENABLED', description: 'The geo target constant is valid.', index: 2 }, + { + s: 'REMOVAL_PLANNED', + description: 'The geo target constant is obsolete and will be removed.', + index: 3, }, - { s: 'ENABLED', description: 'The geo target constant is valid.' }, - { s: 'REMOVAL_PLANNED', description: 'The geo target constant is obsolete and will be removed.' }, ], _type: 'enum', }, diff --git a/docs/content/entities/keyword_plan/meta.js b/docs/content/entities/keyword_plan/meta.js index f7fed60e..2025d1d9 100644 --- a/docs/content/entities/keyword_plan/meta.js +++ b/docs/content/entities/keyword_plan/meta.js @@ -6,15 +6,16 @@ module.exports = { date_interval: { _description: 'A future date range relative to the current date used for forecasting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'NEXT_WEEK', description: "The next week date range for keyword plan. The next week is based\non the default locale of the user's account and is mostly SUN-SAT or\nMON-SUN.\nThis can be different from next-7 days.", + index: 3, }, - { s: 'NEXT_MONTH', description: 'The next month date range for keyword plan.' }, - { s: 'NEXT_QUARTER', description: 'The next quarter date range for keyword plan.' }, + { s: 'NEXT_MONTH', description: 'The next month date range for keyword plan.', index: 4 }, + { s: 'NEXT_QUARTER', description: 'The next quarter date range for keyword plan.', index: 5 }, ], _type: 'enum', }, diff --git a/docs/content/entities/keyword_plan_campaign/meta.js b/docs/content/entities/keyword_plan_campaign/meta.js index 35749171..0677593b 100644 --- a/docs/content/entities/keyword_plan_campaign/meta.js +++ b/docs/content/entities/keyword_plan_campaign/meta.js @@ -17,10 +17,10 @@ module.exports = { _description: 'Targeting network. This field is required and should not be empty when creating Keyword Plan campaigns.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'GOOGLE_SEARCH', description: 'Google Search.' }, - { s: 'GOOGLE_SEARCH_AND_PARTNERS', description: 'Google Search + Search partners.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'GOOGLE_SEARCH', description: 'Google Search.', index: 2 }, + { s: 'GOOGLE_SEARCH_AND_PARTNERS', description: 'Google Search + Search partners.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/keyword_plan_keyword/meta.js b/docs/content/entities/keyword_plan_keyword/meta.js index 4b1405b0..75504f40 100644 --- a/docs/content/entities/keyword_plan_keyword/meta.js +++ b/docs/content/entities/keyword_plan_keyword/meta.js @@ -14,11 +14,15 @@ module.exports = { match_type: { _description: 'The keyword match type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, diff --git a/docs/content/entities/keyword_plan_negative_keyword/meta.js b/docs/content/entities/keyword_plan_negative_keyword/meta.js index 9bcf597d..0d094c36 100644 --- a/docs/content/entities/keyword_plan_negative_keyword/meta.js +++ b/docs/content/entities/keyword_plan_negative_keyword/meta.js @@ -9,11 +9,15 @@ module.exports = { match_type: { _description: 'The keyword match type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, diff --git a/docs/content/entities/label/meta.js b/docs/content/entities/label/meta.js index af0a4c9a..0084da85 100644 --- a/docs/content/entities/label/meta.js +++ b/docs/content/entities/label/meta.js @@ -15,10 +15,14 @@ module.exports = { status: { _description: 'Output only. Status of the label. Read only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'Label is enabled.' }, - { s: 'REMOVED', description: 'Label is removed.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'Label is enabled.', index: 2 }, + { s: 'REMOVED', description: 'Label is removed.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/media_file/meta.js b/docs/content/entities/media_file/meta.js index 3cfe2614..af61b9eb 100644 --- a/docs/content/entities/media_file/meta.js +++ b/docs/content/entities/media_file/meta.js @@ -24,23 +24,24 @@ module.exports = { mime_type: { _description: 'Output only. The mime type of the media file.', _enums: [ - { s: 'UNSPECIFIED', description: 'The mime type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The mime type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.' }, - { s: 'IMAGE_GIF', description: 'MIME type of image/gif.' }, - { s: 'IMAGE_PNG', description: 'MIME type of image/png.' }, - { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.' }, - { s: 'TEXT_HTML', description: 'MIME type of text/html.' }, - { s: 'PDF', description: 'MIME type of application/pdf.' }, - { s: 'MSWORD', description: 'MIME type of application/msword.' }, - { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.' }, - { s: 'RTF', description: 'MIME type of application/rtf.' }, - { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.' }, - { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.' }, - { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.' }, + { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.', index: 2 }, + { s: 'IMAGE_GIF', description: 'MIME type of image/gif.', index: 3 }, + { s: 'IMAGE_PNG', description: 'MIME type of image/png.', index: 4 }, + { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.', index: 5 }, + { s: 'TEXT_HTML', description: 'MIME type of text/html.', index: 6 }, + { s: 'PDF', description: 'MIME type of application/pdf.', index: 7 }, + { s: 'MSWORD', description: 'MIME type of application/msword.', index: 8 }, + { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.', index: 9 }, + { s: 'RTF', description: 'MIME type of application/rtf.', index: 10 }, + { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.', index: 11 }, + { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.', index: 12 }, + { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.', index: 13 }, ], _type: 'enum', }, @@ -62,17 +63,18 @@ module.exports = { type: { _description: 'Immutable. Type of the media file.', _enums: [ - { s: 'UNSPECIFIED', description: 'The media type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The media type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'IMAGE', description: 'Static image, used for image ad.' }, - { s: 'ICON', description: 'Small image, used for map ad.' }, - { s: 'MEDIA_BUNDLE', description: 'ZIP file, used in fields of template ads.' }, - { s: 'AUDIO', description: 'Audio file.' }, - { s: 'VIDEO', description: 'Video file.' }, - { s: 'DYNAMIC_IMAGE', description: 'Animated image, such as animated GIF.' }, + { s: 'IMAGE', description: 'Static image, used for image ad.', index: 2 }, + { s: 'ICON', description: 'Small image, used for map ad.', index: 3 }, + { s: 'MEDIA_BUNDLE', description: 'ZIP file, used in fields of template ads.', index: 4 }, + { s: 'AUDIO', description: 'Audio file.', index: 5 }, + { s: 'VIDEO', description: 'Video file.', index: 6 }, + { s: 'DYNAMIC_IMAGE', description: 'Animated image, such as animated GIF.', index: 7 }, ], _type: 'enum', }, diff --git a/docs/content/entities/mobile_device_constant/meta.js b/docs/content/entities/mobile_device_constant/meta.js index a14192a7..a2f9dcf9 100644 --- a/docs/content/entities/mobile_device_constant/meta.js +++ b/docs/content/entities/mobile_device_constant/meta.js @@ -16,10 +16,14 @@ module.exports = { type: { _description: 'Output only. The type of mobile device.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile phones.' }, - { s: 'TABLET', description: 'Tablets.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'MOBILE', description: 'Mobile phones.', index: 2 }, + { s: 'TABLET', description: 'Tablets.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/operating_system_version_constant/meta.js b/docs/content/entities/operating_system_version_constant/meta.js index 59a7b8fe..9e2622cf 100644 --- a/docs/content/entities/operating_system_version_constant/meta.js +++ b/docs/content/entities/operating_system_version_constant/meta.js @@ -7,10 +7,18 @@ module.exports = { _description: 'Output only. Determines whether this constant represents a single version or a range of versions.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'EQUALS_TO', description: 'Equals to the specified version.' }, - { s: 'GREATER_THAN_EQUALS_TO', description: 'Greater than or equals to the specified version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'EQUALS_TO', description: 'Equals to the specified version.', index: 2 }, + { + s: 'GREATER_THAN_EQUALS_TO', + description: 'Greater than or equals to the specified version.', + index: 4, + }, ], _type: 'enum', }, diff --git a/docs/content/entities/product_bidding_category_constant/meta.js b/docs/content/entities/product_bidding_category_constant/meta.js index 4f07c99a..6c636579 100644 --- a/docs/content/entities/product_bidding_category_constant/meta.js +++ b/docs/content/entities/product_bidding_category_constant/meta.js @@ -14,13 +14,17 @@ module.exports = { level: { _description: 'Output only. Level of the product bidding category.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'LEVEL1', description: 'Level 1.' }, - { s: 'LEVEL2', description: 'Level 2.' }, - { s: 'LEVEL3', description: 'Level 3.' }, - { s: 'LEVEL4', description: 'Level 4.' }, - { s: 'LEVEL5', description: 'Level 5.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'LEVEL1', description: 'Level 1.', index: 7 }, + { s: 'LEVEL2', description: 'Level 2.', index: 8 }, + { s: 'LEVEL3', description: 'Level 3.', index: 9 }, + { s: 'LEVEL4', description: 'Level 4.', index: 10 }, + { s: 'LEVEL5', description: 'Level 5.', index: 11 }, ], _type: 'enum', }, @@ -41,10 +45,14 @@ module.exports = { status: { _description: 'Output only. Status of the product bidding category.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ACTIVE', description: 'The category is active and can be used for bidding.' }, - { s: 'OBSOLETE', description: 'The category is obsolete. Used only for reporting purposes.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ACTIVE', description: 'The category is active and can be used for bidding.', index: 2 }, + { s: 'OBSOLETE', description: 'The category is obsolete. Used only for reporting purposes.', index: 3 }, ], _type: 'enum', }, diff --git a/docs/content/entities/recommendation/meta.js b/docs/content/entities/recommendation/meta.js index 2909da8e..ceca8ce4 100644 --- a/docs/content/entities/recommendation/meta.js +++ b/docs/content/entities/recommendation/meta.js @@ -21,21 +21,24 @@ module.exports = { _description: 'Enum value that indicates whether this call extension uses its own call conversion setting (or just have call conversion disabled), or following the account level setting.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DISABLED', description: 'Call conversion action is disabled.' }, + { s: 'DISABLED', description: 'Call conversion action is disabled.', index: 2 }, { s: 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the\naccount level.', + index: 3, }, { s: 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the resource\n(call only ads/call extensions) level.', + index: 4, }, ], _type: 'enum', @@ -185,14 +188,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -204,14 +208,15 @@ module.exports = { recommended_match_type: { _description: 'Output only. The recommended new match type.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -224,14 +229,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -394,21 +400,32 @@ module.exports = { goal: { _description: 'Output only. The goal achieved by this option.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'SAME_COST', + description: 'Recommendation to set Target CPA to maintain the same cost.', + index: 2, }, - { s: 'SAME_COST', description: 'Recommendation to set Target CPA to maintain the same cost.' }, { s: 'SAME_CONVERSIONS', description: 'Recommendation to set Target CPA to maintain the same conversions.', + index: 3, + }, + { + s: 'SAME_CPA', + description: 'Recommendation to set Target CPA to maintain the same CPA.', + index: 4, }, - { s: 'SAME_CPA', description: 'Recommendation to set Target CPA to maintain the same CPA.' }, { s: 'CLOSEST_CPA', description: 'Recommendation to set Target CPA to a value that is as close as possible\nto, yet lower than, the actual CPA (computed for past 28 days).', + index: 5, }, ], _type: 'enum', @@ -480,17 +497,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -504,17 +522,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -537,17 +556,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -570,17 +590,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -594,17 +615,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -639,21 +661,24 @@ module.exports = { _description: 'The call conversion behavior of this call only ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'DISABLED', description: 'Call conversion action is disabled.' }, + { s: 'DISABLED', description: 'Call conversion action is disabled.', index: 2 }, { s: 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the\naccount level.', + index: 3, }, { s: 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', description: 'Call conversion action will use call conversion type set at the resource\n(call only ads/call extensions) level.', + index: 4, }, ], _type: 'enum', @@ -678,13 +703,13 @@ module.exports = { _description: 'The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the ad will be preferred over other ads when being displayed on a mobile device. The ad can still be displayed on other device types, e.g. if no other ads are available. If unspecified (no device preference), all devices are targeted. This is only supported by some ad types.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'MOBILE', description: 'Mobile devices with full browsers.' }, - { s: 'TABLET', description: 'Tablets with full browsers.' }, - { s: 'DESKTOP', description: 'Computers.' }, - { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.' }, - { s: 'OTHER', description: 'Other device types.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'MOBILE', description: 'Mobile devices with full browsers.', index: 2 }, + { s: 'TABLET', description: 'Tablets with full browsers.', index: 3 }, + { s: 'DESKTOP', description: 'Computers.', index: 4 }, + { s: 'CONNECTED_TV', description: 'Smart TVs and game consoles.', index: 6 }, + { s: 'OTHER', description: 'Other device types.', index: 5 }, ], _type: 'enum', }, @@ -694,57 +719,67 @@ module.exports = { display_upload_product_type: { _description: 'The product type of this ad. See comments on the enum for details.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, { s: 'HTML5_UPLOAD_AD', description: 'HTML5 upload ad. This product type requires the upload_media_bundle\nfield in DisplayUploadAdInfo to be set.', + index: 2, }, { s: 'DYNAMIC_HTML5_EDUCATION_AD', description: 'Dynamic HTML5 education ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in an education campaign.', + index: 3, }, { s: 'DYNAMIC_HTML5_FLIGHT_AD', description: 'Dynamic HTML5 flight ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a flight campaign.', + index: 4, }, { s: 'DYNAMIC_HTML5_HOTEL_RENTAL_AD', description: 'Dynamic HTML5 hotel and rental ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a hotel campaign.', + index: 5, }, { s: 'DYNAMIC_HTML5_JOB_AD', description: 'Dynamic HTML5 job ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a job campaign.', + index: 6, }, { s: 'DYNAMIC_HTML5_LOCAL_AD', description: 'Dynamic HTML5 local ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a local campaign.', + index: 7, }, { s: 'DYNAMIC_HTML5_REAL_ESTATE_AD', description: 'Dynamic HTML5 real estate ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a real estate campaign.', + index: 8, }, { s: 'DYNAMIC_HTML5_CUSTOM_AD', description: 'Dynamic HTML5 custom ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a custom campaign.', + index: 9, }, { s: 'DYNAMIC_HTML5_TRAVEL_AD', description: 'Dynamic HTML5 travel ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a travel campaign.', + index: 10, }, { s: 'DYNAMIC_HTML5_HOTEL_AD', description: 'Dynamic HTML5 hotel ad. This product type requires the\nupload_media_bundle field in DisplayUploadAdInfo to be set. Can only be\nused in a hotel campaign.', + index: 11, }, ], _type: 'enum', @@ -790,13 +825,14 @@ module.exports = { os_type: { _description: 'The operating system targeted by this URL. Required.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'IOS', description: 'The Apple IOS operating system.' }, - { s: 'ANDROID', description: 'The Android operating system.' }, + { s: 'IOS', description: 'The Apple IOS operating system.', index: 2 }, + { s: 'ANDROID', description: 'The Android operating system.', index: 3 }, ], _type: 'enum', }, @@ -904,24 +940,25 @@ module.exports = { mime_type: { _description: 'The mime type of the image.', _enums: [ - { s: 'UNSPECIFIED', description: 'The mime type has not been specified.' }, + { s: 'UNSPECIFIED', description: 'The mime type has not been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.' }, - { s: 'IMAGE_GIF', description: 'MIME type of image/gif.' }, - { s: 'IMAGE_PNG', description: 'MIME type of image/png.' }, - { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.' }, - { s: 'TEXT_HTML', description: 'MIME type of text/html.' }, - { s: 'PDF', description: 'MIME type of application/pdf.' }, - { s: 'MSWORD', description: 'MIME type of application/msword.' }, - { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.' }, - { s: 'RTF', description: 'MIME type of application/rtf.' }, - { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.' }, - { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.' }, - { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.' }, + { s: 'IMAGE_JPEG', description: 'MIME type of image/jpeg.', index: 2 }, + { s: 'IMAGE_GIF', description: 'MIME type of image/gif.', index: 3 }, + { s: 'IMAGE_PNG', description: 'MIME type of image/png.', index: 4 }, + { s: 'FLASH', description: 'MIME type of application/x-shockwave-flash.', index: 5 }, + { s: 'TEXT_HTML', description: 'MIME type of text/html.', index: 6 }, + { s: 'PDF', description: 'MIME type of application/pdf.', index: 7 }, + { s: 'MSWORD', description: 'MIME type of application/msword.', index: 8 }, + { s: 'MSEXCEL', description: 'MIME type of application/vnd.ms-excel.', index: 9 }, + { s: 'RTF', description: 'MIME type of application/rtf.', index: 10 }, + { s: 'AUDIO_WAV', description: 'MIME type of audio/wav.', index: 11 }, + { s: 'AUDIO_MP3', description: 'MIME type of audio/mp3.', index: 12 }, + { s: 'HTML5_AD_ZIP', description: 'MIME type of application/x-html5-ad-zip.', index: 13 }, ], _type: 'enum', }, @@ -946,16 +983,17 @@ module.exports = { app_store: { _description: 'The app store the mobile app is available in.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'APPLE_APP_STORE', description: 'Apple iTunes.' }, - { s: 'GOOGLE_PLAY', description: 'Google Play.' }, - { s: 'WINDOWS_STORE', description: 'Windows Store.' }, - { s: 'WINDOWS_PHONE_STORE', description: 'Windows Phone Store.' }, - { s: 'CN_APP_STORE', description: 'The app is hosted in a Chinese app store.' }, + { s: 'APPLE_APP_STORE', description: 'Apple iTunes.', index: 2 }, + { s: 'GOOGLE_PLAY', description: 'Google Play.', index: 3 }, + { s: 'WINDOWS_STORE', description: 'Windows Store.', index: 4 }, + { s: 'WINDOWS_PHONE_STORE', description: 'Windows Phone Store.', index: 5 }, + { s: 'CN_APP_STORE', description: 'The app is hosted in a Chinese app store.', index: 6 }, ], _type: 'enum', }, @@ -982,14 +1020,15 @@ module.exports = { format_setting: { _description: 'Specifies which format the ad will be served in. Default is ALL_FORMATS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ALL_FORMATS', description: 'Text, image and native formats.' }, - { s: 'NON_NATIVE', description: 'Text and image formats.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ALL_FORMATS', description: 'Text, image and native formats.', index: 2 }, + { s: 'NON_NATIVE', description: 'Text and image formats.', index: 3 }, { s: 'NATIVE', description: 'Native format, i.e. the format rendering is controlled by the publisher\nand not by Google.', + index: 4, }, ], _type: 'enum', @@ -1063,17 +1102,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -1082,14 +1122,15 @@ module.exports = { format_setting: { _description: 'Specifies which format the ad will be served in. Default is ALL_FORMATS.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'The value is unknown in this version.' }, - { s: 'ALL_FORMATS', description: 'Text, image and native formats.' }, - { s: 'NON_NATIVE', description: 'Text and image formats.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { s: 'UNKNOWN', description: 'The value is unknown in this version.', index: 1 }, + { s: 'ALL_FORMATS', description: 'Text, image and native formats.', index: 2 }, + { s: 'NON_NATIVE', description: 'Text and image formats.', index: 3 }, { s: 'NATIVE', description: 'Native format, i.e. the format rendering is controlled by the publisher\nand not by Google.', + index: 4, }, ], _type: 'enum', @@ -1102,17 +1143,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -1130,17 +1172,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -1193,17 +1236,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -1217,17 +1261,18 @@ module.exports = { _description: 'The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, }, - { s: 'HEADLINE_1', description: 'The asset is used in headline 1.' }, - { s: 'HEADLINE_2', description: 'The asset is used in headline 2.' }, - { s: 'HEADLINE_3', description: 'The asset is used in headline 3.' }, - { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.' }, - { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.' }, + { s: 'HEADLINE_1', description: 'The asset is used in headline 1.', index: 2 }, + { s: 'HEADLINE_2', description: 'The asset is used in headline 2.', index: 3 }, + { s: 'HEADLINE_3', description: 'The asset is used in headline 3.', index: 4 }, + { s: 'DESCRIPTION_1', description: 'The asset is used in description 1.', index: 5 }, + { s: 'DESCRIPTION_2', description: 'The asset is used in description 2.', index: 6 }, ], _type: 'enum', }, @@ -1264,12 +1309,13 @@ module.exports = { _description: 'Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AD_VARIATIONS', description: 'Generated ad variations experiment ad.' }, + { s: 'AD_VARIATIONS', description: 'Generated ad variations experiment ad.', index: 2 }, ], _type: 'enum', }, @@ -1287,40 +1333,52 @@ module.exports = { type: { _description: 'Output only. The type of ad.', _enums: [ - { s: 'UNSPECIFIED', description: 'No value has been specified.' }, + { s: 'UNSPECIFIED', description: 'No value has been specified.', index: 0 }, { s: 'UNKNOWN', description: 'The received value is not known in this version.\n\nThis is a response-only value.', + index: 1, + }, + { s: 'TEXT_AD', description: 'The ad is a text ad.', index: 2 }, + { s: 'EXPANDED_TEXT_AD', description: 'The ad is an expanded text ad.', index: 3 }, + { s: 'CALL_ONLY_AD', description: 'The ad is a call only ad.', index: 6 }, + { + s: 'EXPANDED_DYNAMIC_SEARCH_AD', + description: 'The ad is an expanded dynamic search ad.', + index: 7, + }, + { s: 'HOTEL_AD', description: 'The ad is a hotel ad.', index: 8 }, + { s: 'SHOPPING_SMART_AD', description: 'The ad is a Smart Shopping ad.', index: 9 }, + { s: 'SHOPPING_PRODUCT_AD', description: 'The ad is a standard Shopping ad.', index: 10 }, + { s: 'VIDEO_AD', description: 'The ad is a video ad.', index: 12 }, + { s: 'GMAIL_AD', description: 'This ad is a Gmail ad.', index: 13 }, + { s: 'IMAGE_AD', description: 'This ad is an Image ad.', index: 14 }, + { s: 'RESPONSIVE_SEARCH_AD', description: 'The ad is a responsive search ad.', index: 15 }, + { + s: 'LEGACY_RESPONSIVE_DISPLAY_AD', + description: 'The ad is a legacy responsive display ad.', + index: 16, }, - { s: 'TEXT_AD', description: 'The ad is a text ad.' }, - { s: 'EXPANDED_TEXT_AD', description: 'The ad is an expanded text ad.' }, - { s: 'CALL_ONLY_AD', description: 'The ad is a call only ad.' }, - { s: 'EXPANDED_DYNAMIC_SEARCH_AD', description: 'The ad is an expanded dynamic search ad.' }, - { s: 'HOTEL_AD', description: 'The ad is a hotel ad.' }, - { s: 'SHOPPING_SMART_AD', description: 'The ad is a Smart Shopping ad.' }, - { s: 'SHOPPING_PRODUCT_AD', description: 'The ad is a standard Shopping ad.' }, - { s: 'VIDEO_AD', description: 'The ad is a video ad.' }, - { s: 'GMAIL_AD', description: 'This ad is a Gmail ad.' }, - { s: 'IMAGE_AD', description: 'This ad is an Image ad.' }, - { s: 'RESPONSIVE_SEARCH_AD', description: 'The ad is a responsive search ad.' }, - { s: 'LEGACY_RESPONSIVE_DISPLAY_AD', description: 'The ad is a legacy responsive display ad.' }, - { s: 'APP_AD', description: 'The ad is an app ad.' }, - { s: 'LEGACY_APP_INSTALL_AD', description: 'The ad is a legacy app install ad.' }, - { s: 'RESPONSIVE_DISPLAY_AD', description: 'The ad is a responsive display ad.' }, + { s: 'APP_AD', description: 'The ad is an app ad.', index: 17 }, + { s: 'LEGACY_APP_INSTALL_AD', description: 'The ad is a legacy app install ad.', index: 18 }, + { s: 'RESPONSIVE_DISPLAY_AD', description: 'The ad is a responsive display ad.', index: 19 }, { s: 'HTML5_UPLOAD_AD', description: 'The ad is a display upload ad with the HTML5_UPLOAD_AD product type.', + index: 21, }, { s: 'DYNAMIC_HTML5_AD', description: 'The ad is a display upload ad with one of the DYNAMIC_HTML5_* product\ntypes.', + index: 22, }, - { s: 'APP_ENGAGEMENT_AD', description: 'The ad is an app engagement ad.' }, + { s: 'APP_ENGAGEMENT_AD', description: 'The ad is an app engagement ad.', index: 23 }, { s: 'SHOPPING_COMPARISON_LISTING_AD', description: 'The ad is a Shopping Comparison Listing ad.', + index: 24, }, ], _type: 'enum', @@ -1417,49 +1475,73 @@ module.exports = { type: { _description: 'Output only. The type of recommendation.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'CAMPAIGN_BUDGET', description: 'Budget recommendation for budget constrained campaigns.' }, - { s: 'KEYWORD', description: 'Keyword recommendation.' }, - { s: 'TEXT_AD', description: 'Recommendation to add a new text ad.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'CAMPAIGN_BUDGET', + description: 'Budget recommendation for budget constrained campaigns.', + index: 2, + }, + { s: 'KEYWORD', description: 'Keyword recommendation.', index: 3 }, + { s: 'TEXT_AD', description: 'Recommendation to add a new text ad.', index: 4 }, { s: 'TARGET_CPA_OPT_IN', description: 'Recommendation to update a campaign to use a Target CPA bidding strategy.', + index: 5, }, { s: 'MAXIMIZE_CONVERSIONS_OPT_IN', description: 'Recommendation to update a campaign to use the Maximize Conversions\nbidding strategy.', + index: 6, }, { s: 'ENHANCED_CPC_OPT_IN', description: 'Recommendation to enable Enhanced Cost Per Click for a campaign.', + index: 7, }, { s: 'SEARCH_PARTNERS_OPT_IN', description: "Recommendation to start showing your campaign's ads on Google Search\nPartners Websites.", + index: 8, }, { s: 'MAXIMIZE_CLICKS_OPT_IN', description: 'Recommendation to update a campaign to use a Maximize Clicks bidding\nstrategy.', + index: 9, }, { s: 'OPTIMIZE_AD_ROTATION', description: 'Recommendation to start using the "Optimize" ad rotation setting for the\ngiven ad group.', + index: 10, + }, + { + s: 'CALLOUT_EXTENSION', + description: 'Recommendation to add callout extensions to a campaign.', + index: 11, + }, + { + s: 'SITELINK_EXTENSION', + description: 'Recommendation to add sitelink extensions to a campaign.', + index: 12, }, - { s: 'CALLOUT_EXTENSION', description: 'Recommendation to add callout extensions to a campaign.' }, - { s: 'SITELINK_EXTENSION', description: 'Recommendation to add sitelink extensions to a campaign.' }, - { s: 'CALL_EXTENSION', description: 'Recommendation to add call extensions to a campaign.' }, + { s: 'CALL_EXTENSION', description: 'Recommendation to add call extensions to a campaign.', index: 13 }, { s: 'KEYWORD_MATCH_TYPE', description: 'Recommendation to change an existing keyword from one match type to a\nbroader match type.', + index: 14, }, { s: 'MOVE_UNUSED_BUDGET', description: 'Recommendation to move unused budget from one budget to a constrained\nbudget.', + index: 15, }, ], _type: 'enum', diff --git a/docs/content/entities/remarketing_action/meta.js b/docs/content/entities/remarketing_action/meta.js index 2c2665a5..54f56b47 100644 --- a/docs/content/entities/remarketing_action/meta.js +++ b/docs/content/entities/remarketing_action/meta.js @@ -29,39 +29,48 @@ module.exports = { _description: 'The format of the web page where the tracking tag and snippet will be installed, e.g. HTML.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'HTML', description: 'Standard HTML page format.' }, - { s: 'AMP', description: 'Google AMP page format.' }, + { s: 'HTML', description: 'Standard HTML page format.', index: 2 }, + { s: 'AMP', description: 'Google AMP page format.', index: 3 }, ], _type: 'enum', }, type: { _description: 'The type of the generated tag snippets for tracking conversions.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'WEBPAGE', + description: 'The snippet that is fired as a result of a website page loading.', + index: 2, }, - { s: 'WEBPAGE', description: 'The snippet that is fired as a result of a website page loading.' }, { s: 'WEBPAGE_ONCLICK', description: 'The snippet contains a JavaScript function which fires the tag. This\nfunction is typically called from an onClick handler added to a link or\nbutton element on the page.', + index: 3, }, { s: 'CLICK_TO_CALL', description: 'For embedding on a mobile webpage. The snippet contains a JavaScript\nfunction which fires the tag.', + index: 4, }, { s: 'WEBSITE_CALL', description: 'The snippet that is used to replace the phone number on your website with\na Google forwarding number for call tracking purposes.', + index: 5, }, ], _type: 'enum', diff --git a/docs/content/entities/shared_criterion/meta.js b/docs/content/entities/shared_criterion/meta.js index d64909cd..8a60855d 100644 --- a/docs/content/entities/shared_criterion/meta.js +++ b/docs/content/entities/shared_criterion/meta.js @@ -11,14 +11,15 @@ module.exports = { match_type: { _description: 'The match type of the keyword.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EXACT', description: 'Exact match.' }, - { s: 'PHRASE', description: 'Phrase match.' }, - { s: 'BROAD', description: 'Broad match.' }, + { s: 'EXACT', description: 'Exact match.', index: 2 }, + { s: 'PHRASE', description: 'Phrase match.', index: 3 }, + { s: 'BROAD', description: 'Broad match.', index: 4 }, ], _type: 'enum', }, @@ -59,38 +60,46 @@ module.exports = { type: { _description: 'Output only. The type of the criterion.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'." }, - { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'" }, - { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.' }, - { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.' }, - { s: 'DEVICE', description: 'Devices to target.' }, - { s: 'LOCATION', description: 'Locations to target.' }, - { s: 'LISTING_GROUP', description: 'Listing groups to target.' }, - { s: 'AD_SCHEDULE', description: 'Ad Schedule.' }, - { s: 'AGE_RANGE', description: 'Age range.' }, - { s: 'GENDER', description: 'Gender.' }, - { s: 'INCOME_RANGE', description: 'Income Range.' }, - { s: 'PARENTAL_STATUS', description: 'Parental status.' }, - { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.' }, - { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.' }, - { s: 'USER_LIST', description: 'User list.' }, - { s: 'PROXIMITY', description: 'Proximity.' }, - { s: 'TOPIC', description: 'A topic target on the display network (e.g. "Pets & Animals").' }, - { s: 'LISTING_SCOPE', description: 'Listing scope to target.' }, - { s: 'LANGUAGE', description: 'Language.' }, - { s: 'IP_BLOCK', description: 'IpBlock.' }, - { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.' }, - { s: 'CARRIER', description: 'Carrier.' }, - { s: 'USER_INTEREST', description: 'A category the user is interested in.' }, - { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.' }, - { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.' }, - { s: 'APP_PAYMENT_MODEL', description: 'App payment model.' }, - { s: 'MOBILE_DEVICE', description: 'Mobile device.' }, - { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.' }, - { s: 'CUSTOM_INTENT', description: 'Custom intent.' }, - { s: 'LOCATION_GROUP', description: 'Location group.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'KEYWORD', description: "Keyword. e.g. 'mars cruise'.", index: 2 }, + { s: 'PLACEMENT', description: "Placement, aka Website. e.g. 'www.flowers4sale.com'", index: 3 }, + { s: 'MOBILE_APP_CATEGORY', description: 'Mobile application categories to target.', index: 4 }, + { s: 'MOBILE_APPLICATION', description: 'Mobile applications to target.', index: 5 }, + { s: 'DEVICE', description: 'Devices to target.', index: 6 }, + { s: 'LOCATION', description: 'Locations to target.', index: 7 }, + { s: 'LISTING_GROUP', description: 'Listing groups to target.', index: 8 }, + { s: 'AD_SCHEDULE', description: 'Ad Schedule.', index: 9 }, + { s: 'AGE_RANGE', description: 'Age range.', index: 10 }, + { s: 'GENDER', description: 'Gender.', index: 11 }, + { s: 'INCOME_RANGE', description: 'Income Range.', index: 12 }, + { s: 'PARENTAL_STATUS', description: 'Parental status.', index: 13 }, + { s: 'YOUTUBE_VIDEO', description: 'YouTube Video.', index: 14 }, + { s: 'YOUTUBE_CHANNEL', description: 'YouTube Channel.', index: 15 }, + { s: 'USER_LIST', description: 'User list.', index: 16 }, + { s: 'PROXIMITY', description: 'Proximity.', index: 17 }, + { + s: 'TOPIC', + description: 'A topic target on the display network (e.g. "Pets & Animals").', + index: 18, + }, + { s: 'LISTING_SCOPE', description: 'Listing scope to target.', index: 19 }, + { s: 'LANGUAGE', description: 'Language.', index: 20 }, + { s: 'IP_BLOCK', description: 'IpBlock.', index: 21 }, + { s: 'CONTENT_LABEL', description: 'Content Label for category exclusion.', index: 22 }, + { s: 'CARRIER', description: 'Carrier.', index: 23 }, + { s: 'USER_INTEREST', description: 'A category the user is interested in.', index: 24 }, + { s: 'WEBPAGE', description: 'Webpage criterion for dynamic search ads.', index: 25 }, + { s: 'OPERATING_SYSTEM_VERSION', description: 'Operating system version.', index: 26 }, + { s: 'APP_PAYMENT_MODEL', description: 'App payment model.', index: 27 }, + { s: 'MOBILE_DEVICE', description: 'Mobile device.', index: 28 }, + { s: 'CUSTOM_AFFINITY', description: 'Custom affinity.', index: 29 }, + { s: 'CUSTOM_INTENT', description: 'Custom intent.', index: 30 }, + { s: 'LOCATION_GROUP', description: 'Location group.', index: 31 }, ], _type: 'enum', }, diff --git a/docs/content/entities/shared_set/meta.js b/docs/content/entities/shared_set/meta.js index 2c546bfd..884582e2 100644 --- a/docs/content/entities/shared_set/meta.js +++ b/docs/content/entities/shared_set/meta.js @@ -23,10 +23,14 @@ module.exports = { status: { _description: 'Output only. The status of this shared set. Read only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'The shared set is enabled.' }, - { s: 'REMOVED', description: 'The shared set is removed and can no longer be used.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'The shared set is enabled.', index: 2 }, + { s: 'REMOVED', description: 'The shared set is removed and can no longer be used.', index: 3 }, ], _type: 'enum', }, @@ -34,10 +38,22 @@ module.exports = { _description: 'Immutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'NEGATIVE_KEYWORDS', description: 'A set of keywords that can be excluded from targeting.' }, - { s: 'NEGATIVE_PLACEMENTS', description: 'A set of placements that can be excluded from targeting.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'NEGATIVE_KEYWORDS', + description: 'A set of keywords that can be excluded from targeting.', + index: 2, + }, + { + s: 'NEGATIVE_PLACEMENTS', + description: 'A set of placements that can be excluded from targeting.', + index: 3, + }, ], _type: 'enum', }, diff --git a/docs/content/entities/user_interest/meta.js b/docs/content/entities/user_interest/meta.js index ecd93d16..c2c0a61f 100644 --- a/docs/content/entities/user_interest/meta.js +++ b/docs/content/entities/user_interest/meta.js @@ -13,27 +13,31 @@ module.exports = { advertising_channel_type: { _description: 'Channel type the category is available to.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'SEARCH', description: 'Search Network. Includes display bundled, and Search+ campaigns.', + index: 2, }, - { s: 'DISPLAY', description: 'Google Display Network only.' }, + { s: 'DISPLAY', description: 'Google Display Network only.', index: 3 }, { s: 'SHOPPING', description: 'Shopping campaigns serve on the shopping property\nand on google.com search results.', + index: 4, }, - { s: 'HOTEL', description: 'Hotel Ads campaigns.' }, - { s: 'VIDEO', description: 'Video campaigns.' }, + { s: 'HOTEL', description: 'Hotel Ads campaigns.', index: 5 }, + { s: 'VIDEO', description: 'Video campaigns.', index: 6 }, { s: 'MULTI_CHANNEL', description: 'App Campaigns, and App Campaigns for Engagement, that run\nacross multiple channels.', + index: 7, }, ], _type: 'enum', @@ -42,24 +46,28 @@ module.exports = { _description: 'Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be set), CHANNEL_TYPE (only advertising_channel_type type will be set, the category is available to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, advertising_channel_sub_type, and include_default_channel_sub_type will all be set).', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'ALL_CHANNELS', description: 'The category is available to campaigns of all channel types and subtypes.', + index: 2, }, { s: 'CHANNEL_TYPE_AND_ALL_SUBTYPES', description: 'The category is available to campaigns of a specific channel type,\nincluding all subtypes under it.', + index: 3, }, { s: 'CHANNEL_TYPE_AND_SUBSET_SUBTYPES', description: 'The category is available to campaigns of a specific channel type and\nsubtype(s).', + index: 4, }, ], _type: 'enum', @@ -77,26 +85,34 @@ module.exports = { _description: 'Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), COUNTRY_AND_LANGUAGE (both country and language will be set).', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'ALL_LOCALES', + description: 'The category is available to campaigns of all locales.', + index: 2, }, - { s: 'ALL_LOCALES', description: 'The category is available to campaigns of all locales.' }, { s: 'COUNTRY_AND_ALL_LANGUAGES', description: 'The category is available to campaigns within a list of countries,\nregardless of language.', + index: 3, }, { s: 'LANGUAGE_AND_ALL_COUNTRIES', description: 'The category is available to campaigns within a list of languages,\nregardless of country.', + index: 4, }, { s: 'COUNTRY_AND_LANGUAGE', description: 'The category is available to campaigns within a list of country, language\npairs.', + index: 5, }, ], _type: 'enum', @@ -118,16 +134,29 @@ module.exports = { taxonomy_type: { _description: 'Output only. Taxonomy type of the user interest.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'AFFINITY', description: 'The affinity for this user interest.' }, - { s: 'IN_MARKET', description: 'The market for this user interest.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'AFFINITY', description: 'The affinity for this user interest.', index: 2 }, + { s: 'IN_MARKET', description: 'The market for this user interest.', index: 3 }, { s: 'MOBILE_APP_INSTALL_USER', description: 'Users known to have installed applications in the specified categories.', + index: 4, + }, + { + s: 'VERTICAL_GEO', + description: 'The geographical location of the interest-based vertical.', + index: 5, + }, + { + s: 'NEW_SMART_PHONE_USER', + description: 'User interest criteria for new smart phone users.', + index: 6, }, - { s: 'VERTICAL_GEO', description: 'The geographical location of the interest-based vertical.' }, - { s: 'NEW_SMART_PHONE_USER', description: 'User interest criteria for new smart phone users.' }, ], _type: 'enum', }, diff --git a/docs/content/entities/user_list/meta.js b/docs/content/entities/user_list/meta.js index b73c20e7..5b77e145 100644 --- a/docs/content/entities/user_list/meta.js +++ b/docs/content/entities/user_list/meta.js @@ -5,13 +5,17 @@ module.exports = { _description: 'Output only. Indicates the reason this account has been granted access to the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'OWNED', description: 'The resource is owned by the user.' }, - { s: 'SHARED', description: 'The resource is shared to the user.' }, - { s: 'LICENSED', description: 'The resource is licensed to the user.' }, - { s: 'SUBSCRIBED', description: 'The user subscribed to the resource.' }, - { s: 'AFFILIATED', description: 'The resource is accessible to the user.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'OWNED', description: 'The resource is owned by the user.', index: 2 }, + { s: 'SHARED', description: 'The resource is shared to the user.', index: 3 }, + { s: 'LICENSED', description: 'The resource is licensed to the user.', index: 4 }, + { s: 'SUBSCRIBED', description: 'The user subscribed to the resource.', index: 5 }, + { s: 'AFFILIATED', description: 'The resource is accessible to the user.', index: 6 }, ], _type: 'enum', }, @@ -19,10 +23,14 @@ module.exports = { _description: 'Indicates if this share is still enabled. When a UserList is shared with the user this field is set to ENABLED. Later the userList owner can decide to revoke the share and make it DISABLED. The default value of this field is set to ENABLED.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'ENABLED', description: 'The access is enabled.' }, - { s: 'DISABLED', description: 'The access is disabled.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'ENABLED', description: 'The access is enabled.', index: 2 }, + { s: 'DISABLED', description: 'The access is disabled.', index: 3 }, ], _type: 'enum', }, @@ -43,9 +51,17 @@ module.exports = { _description: 'Indicating the reason why this user list membership status is closed. It is only populated on lists that were automatically closed due to inactivity, and will be cleared once the list membership status becomes open.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'UNUSED', description: 'The userlist was closed because of not being used for over one year.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'UNUSED', + description: 'The userlist was closed because of not being used for over one year.', + index: 2, + }, ], _type: 'enum', }, @@ -61,17 +77,23 @@ module.exports = { _description: 'Data source of the list. Default value is FIRST_PARTY. Only whitelisted customers can create third-party sourced CRM lists.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'FIRST_PARTY', description: 'The uploaded data is first-party data.' }, + { s: 'FIRST_PARTY', description: 'The uploaded data is first-party data.', index: 2 }, { s: 'THIRD_PARTY_CREDIT_BUREAU', description: 'The uploaded data is from a third-party credit bureau.', + index: 3, + }, + { + s: 'THIRD_PARTY_VOTER_FILE', + description: 'The uploaded data is from a third-party voter file.', + index: 4, }, - { s: 'THIRD_PARTY_VOTER_FILE', description: 'The uploaded data is from a third-party voter file.' }, ], _type: 'enum', }, @@ -79,21 +101,28 @@ module.exports = { _description: 'Matching key type of the list. Mixed data types are not allowed on the same list. This field is required for an ADD operation.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, { s: 'CONTACT_INFO', description: 'Members are matched from customer info such as email address, phone\nnumber or physical address.', + index: 2, }, { s: 'CRM_ID', description: 'Members are matched from a user id generated and assigned by the\nadvertiser.', + index: 3, + }, + { + s: 'MOBILE_ADVERTISING_ID', + description: 'Members are matched from mobile advertising ids.', + index: 4, }, - { s: 'MOBILE_ADVERTISING_ID', description: 'Members are matched from mobile advertising ids.' }, ], _type: 'enum', }, @@ -124,14 +153,15 @@ module.exports = { operator: { _description: 'The logical operator of the rule.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'ALL', description: 'And - all of the operands.' }, - { s: 'ANY', description: 'Or - at least one of the operands.' }, - { s: 'NONE', description: 'Not - none of the operands.' }, + { s: 'ALL', description: 'And - all of the operands.', index: 2 }, + { s: 'ANY', description: 'Or - at least one of the operands.', index: 3 }, + { s: 'NONE', description: 'Not - none of the operands.', index: 4 }, ], _type: 'enum', }, @@ -151,12 +181,17 @@ module.exports = { _description: 'Membership status of this user list. Indicates whether a user list is open or active. Only open user lists can accumulate more users and can be targeted to.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'OPEN', description: 'Open status - List is accruing members and can be targeted to.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'OPEN', description: 'Open status - List is accruing members and can be targeted to.', index: 2 }, { s: 'CLOSED', description: 'Closed status - No new members being added. Cannot be used for targeting.', + index: 3, }, ], _type: 'enum', @@ -203,16 +238,17 @@ module.exports = { _description: 'Date comparison operator. This field is required and must be populated when creating new date rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not Equals.' }, - { s: 'BEFORE', description: 'Before.' }, - { s: 'AFTER', description: 'After.' }, + { s: 'EQUALS', description: 'Equals.', index: 2 }, + { s: 'NOT_EQUALS', description: 'Not Equals.', index: 3 }, + { s: 'BEFORE', description: 'Before.', index: 4 }, + { s: 'AFTER', description: 'After.', index: 5 }, ], _type: 'enum', }, @@ -233,18 +269,19 @@ module.exports = { _description: 'Number comparison operator. This field is required and must be populated when creating a new number rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'GREATER_THAN', description: 'Greater than.' }, - { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'LESS_THAN', description: 'Less than.' }, - { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.' }, + { s: 'GREATER_THAN', description: 'Greater than.', index: 2 }, + { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.', index: 3 }, + { s: 'EQUALS', description: 'Equals.', index: 4 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 5 }, + { s: 'LESS_THAN', description: 'Less than.', index: 6 }, + { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.', index: 7 }, ], _type: 'enum', }, @@ -260,20 +297,21 @@ module.exports = { _description: 'String comparison operator. This field is required and must be populated when creating a new string rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'CONTAINS', description: 'Contains.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'STARTS_WITH', description: 'Starts with.' }, - { s: 'ENDS_WITH', description: 'Ends with.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'NOT_CONTAINS', description: 'Not contains.' }, - { s: 'NOT_STARTS_WITH', description: 'Not starts with.' }, - { s: 'NOT_ENDS_WITH', description: 'Not ends with.' }, + { s: 'CONTAINS', description: 'Contains.', index: 2 }, + { s: 'EQUALS', description: 'Equals.', index: 3 }, + { s: 'STARTS_WITH', description: 'Starts with.', index: 4 }, + { s: 'ENDS_WITH', description: 'Ends with.', index: 5 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 6 }, + { s: 'NOT_CONTAINS', description: 'Not contains.', index: 7 }, + { s: 'NOT_STARTS_WITH', description: 'Not starts with.', index: 8 }, + { s: 'NOT_ENDS_WITH', description: 'Not ends with.', index: 9 }, ], _type: 'enum', }, @@ -289,13 +327,14 @@ module.exports = { _description: 'Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive normal form). That is, rule items will be ANDed together within rule item groups and the groups themselves will be ORed together. Currently AND of ORs (conjunctive normal form) is only supported for ExpressionRuleUserList.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AND_OF_ORS', description: 'Conjunctive normal form.' }, - { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.' }, + { s: 'AND_OF_ORS', description: 'Conjunctive normal form.', index: 2 }, + { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.', index: 3 }, ], _type: 'enum', }, @@ -321,16 +360,17 @@ module.exports = { _description: 'Date comparison operator. This field is required and must be populated when creating new date rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not Equals.' }, - { s: 'BEFORE', description: 'Before.' }, - { s: 'AFTER', description: 'After.' }, + { s: 'EQUALS', description: 'Equals.', index: 2 }, + { s: 'NOT_EQUALS', description: 'Not Equals.', index: 3 }, + { s: 'BEFORE', description: 'Before.', index: 4 }, + { s: 'AFTER', description: 'After.', index: 5 }, ], _type: 'enum', }, @@ -351,18 +391,19 @@ module.exports = { _description: 'Number comparison operator. This field is required and must be populated when creating a new number rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'GREATER_THAN', description: 'Greater than.' }, - { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'LESS_THAN', description: 'Less than.' }, - { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.' }, + { s: 'GREATER_THAN', description: 'Greater than.', index: 2 }, + { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.', index: 3 }, + { s: 'EQUALS', description: 'Equals.', index: 4 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 5 }, + { s: 'LESS_THAN', description: 'Less than.', index: 6 }, + { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.', index: 7 }, ], _type: 'enum', }, @@ -378,20 +419,21 @@ module.exports = { _description: 'String comparison operator. This field is required and must be populated when creating a new string rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'CONTAINS', description: 'Contains.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'STARTS_WITH', description: 'Starts with.' }, - { s: 'ENDS_WITH', description: 'Ends with.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'NOT_CONTAINS', description: 'Not contains.' }, - { s: 'NOT_STARTS_WITH', description: 'Not starts with.' }, - { s: 'NOT_ENDS_WITH', description: 'Not ends with.' }, + { s: 'CONTAINS', description: 'Contains.', index: 2 }, + { s: 'EQUALS', description: 'Equals.', index: 3 }, + { s: 'STARTS_WITH', description: 'Starts with.', index: 4 }, + { s: 'ENDS_WITH', description: 'Ends with.', index: 5 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 6 }, + { s: 'NOT_CONTAINS', description: 'Not contains.', index: 7 }, + { s: 'NOT_STARTS_WITH', description: 'Not starts with.', index: 8 }, + { s: 'NOT_ENDS_WITH', description: 'Not ends with.', index: 9 }, ], _type: 'enum', }, @@ -407,13 +449,14 @@ module.exports = { _description: 'Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive normal form). That is, rule items will be ANDed together within rule item groups and the groups themselves will be ORed together. Currently AND of ORs (conjunctive normal form) is only supported for ExpressionRuleUserList.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AND_OF_ORS', description: 'Conjunctive normal form.' }, - { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.' }, + { s: 'AND_OF_ORS', description: 'Conjunctive normal form.', index: 2 }, + { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.', index: 3 }, ], _type: 'enum', }, @@ -422,13 +465,14 @@ module.exports = { _description: 'Operator to connect the two operands. Required for creating a combined rule user list.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AND', description: 'A AND B.' }, - { s: 'AND_NOT', description: 'A AND NOT B.' }, + { s: 'AND', description: 'A AND B.', index: 2 }, + { s: 'AND_NOT', description: 'A AND NOT B.', index: 3 }, ], _type: 'enum', }, @@ -462,16 +506,17 @@ module.exports = { _description: 'Date comparison operator. This field is required and must be populated when creating new date rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not Equals.' }, - { s: 'BEFORE', description: 'Before.' }, - { s: 'AFTER', description: 'After.' }, + { s: 'EQUALS', description: 'Equals.', index: 2 }, + { s: 'NOT_EQUALS', description: 'Not Equals.', index: 3 }, + { s: 'BEFORE', description: 'Before.', index: 4 }, + { s: 'AFTER', description: 'After.', index: 5 }, ], _type: 'enum', }, @@ -492,18 +537,19 @@ module.exports = { _description: 'Number comparison operator. This field is required and must be populated when creating a new number rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'GREATER_THAN', description: 'Greater than.' }, - { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'LESS_THAN', description: 'Less than.' }, - { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.' }, + { s: 'GREATER_THAN', description: 'Greater than.', index: 2 }, + { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.', index: 3 }, + { s: 'EQUALS', description: 'Equals.', index: 4 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 5 }, + { s: 'LESS_THAN', description: 'Less than.', index: 6 }, + { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.', index: 7 }, ], _type: 'enum', }, @@ -519,20 +565,21 @@ module.exports = { _description: 'String comparison operator. This field is required and must be populated when creating a new string rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'CONTAINS', description: 'Contains.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'STARTS_WITH', description: 'Starts with.' }, - { s: 'ENDS_WITH', description: 'Ends with.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'NOT_CONTAINS', description: 'Not contains.' }, - { s: 'NOT_STARTS_WITH', description: 'Not starts with.' }, - { s: 'NOT_ENDS_WITH', description: 'Not ends with.' }, + { s: 'CONTAINS', description: 'Contains.', index: 2 }, + { s: 'EQUALS', description: 'Equals.', index: 3 }, + { s: 'STARTS_WITH', description: 'Starts with.', index: 4 }, + { s: 'ENDS_WITH', description: 'Ends with.', index: 5 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 6 }, + { s: 'NOT_CONTAINS', description: 'Not contains.', index: 7 }, + { s: 'NOT_STARTS_WITH', description: 'Not starts with.', index: 8 }, + { s: 'NOT_ENDS_WITH', description: 'Not ends with.', index: 9 }, ], _type: 'enum', }, @@ -548,13 +595,14 @@ module.exports = { _description: 'Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive normal form). That is, rule items will be ANDed together within rule item groups and the groups themselves will be ORed together. Currently AND of ORs (conjunctive normal form) is only supported for ExpressionRuleUserList.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AND_OF_ORS', description: 'Conjunctive normal form.' }, - { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.' }, + { s: 'AND_OF_ORS', description: 'Conjunctive normal form.', index: 2 }, + { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.', index: 3 }, ], _type: 'enum', }, @@ -588,16 +636,17 @@ module.exports = { _description: 'Date comparison operator. This field is required and must be populated when creating new date rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not Equals.' }, - { s: 'BEFORE', description: 'Before.' }, - { s: 'AFTER', description: 'After.' }, + { s: 'EQUALS', description: 'Equals.', index: 2 }, + { s: 'NOT_EQUALS', description: 'Not Equals.', index: 3 }, + { s: 'BEFORE', description: 'Before.', index: 4 }, + { s: 'AFTER', description: 'After.', index: 5 }, ], _type: 'enum', }, @@ -618,18 +667,19 @@ module.exports = { _description: 'Number comparison operator. This field is required and must be populated when creating a new number rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'GREATER_THAN', description: 'Greater than.' }, - { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'LESS_THAN', description: 'Less than.' }, - { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.' }, + { s: 'GREATER_THAN', description: 'Greater than.', index: 2 }, + { s: 'GREATER_THAN_OR_EQUAL', description: 'Greater than or equal.', index: 3 }, + { s: 'EQUALS', description: 'Equals.', index: 4 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 5 }, + { s: 'LESS_THAN', description: 'Less than.', index: 6 }, + { s: 'LESS_THAN_OR_EQUAL', description: 'Less than or equal.', index: 7 }, ], _type: 'enum', }, @@ -645,20 +695,21 @@ module.exports = { _description: 'String comparison operator. This field is required and must be populated when creating a new string rule item.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'CONTAINS', description: 'Contains.' }, - { s: 'EQUALS', description: 'Equals.' }, - { s: 'STARTS_WITH', description: 'Starts with.' }, - { s: 'ENDS_WITH', description: 'Ends with.' }, - { s: 'NOT_EQUALS', description: 'Not equals.' }, - { s: 'NOT_CONTAINS', description: 'Not contains.' }, - { s: 'NOT_STARTS_WITH', description: 'Not starts with.' }, - { s: 'NOT_ENDS_WITH', description: 'Not ends with.' }, + { s: 'CONTAINS', description: 'Contains.', index: 2 }, + { s: 'EQUALS', description: 'Equals.', index: 3 }, + { s: 'STARTS_WITH', description: 'Starts with.', index: 4 }, + { s: 'ENDS_WITH', description: 'Ends with.', index: 5 }, + { s: 'NOT_EQUALS', description: 'Not equals.', index: 6 }, + { s: 'NOT_CONTAINS', description: 'Not contains.', index: 7 }, + { s: 'NOT_STARTS_WITH', description: 'Not starts with.', index: 8 }, + { s: 'NOT_ENDS_WITH', description: 'Not ends with.', index: 9 }, ], _type: 'enum', }, @@ -674,13 +725,14 @@ module.exports = { _description: 'Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive normal form). That is, rule items will be ANDed together within rule item groups and the groups themselves will be ORed together. Currently AND of ORs (conjunctive normal form) is only supported for ExpressionRuleUserList.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'AND_OF_ORS', description: 'Conjunctive normal form.' }, - { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.' }, + { s: 'AND_OF_ORS', description: 'Conjunctive normal form.', index: 2 }, + { s: 'OR_OF_ANDS', description: 'Disjunctive normal form.', index: 3 }, ], _type: 'enum', }, @@ -690,14 +742,15 @@ module.exports = { _description: "The status of pre-population. The field is default to NONE if not set which means the previous users will not be considered. If set to REQUESTED, past site visitors or app users who match the list definition will be included in the list (works on the Display Network only). This will only add past users from within the last 30 days, depending on the list's membership duration and the date when the remarketing tag is added. The status will be updated to FINISHED once request is processed, or FAILED if the request fails.", _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.', + index: 1, }, - { s: 'REQUESTED', description: 'Prepopoulation is being requested.' }, - { s: 'FINISHED', description: 'Prepopulation is finished.' }, - { s: 'FAILED', description: 'Prepopulation failed.' }, + { s: 'REQUESTED', description: 'Prepopoulation is being requested.', index: 2 }, + { s: 'FINISHED', description: 'Prepopulation is finished.', index: 3 }, + { s: 'FAILED', description: 'Prepopulation failed.', index: 4 }, ], _type: 'enum', }, @@ -722,63 +775,84 @@ module.exports = { _description: 'Output only. Size range in terms of number of users of the UserList, on the Google Display Network. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'LESS_THAN_FIVE_HUNDRED', description: 'User list has less than 500 users.' }, - { s: 'LESS_THAN_ONE_THOUSAND', description: 'User list has number of users in range of 500 to 1000.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'LESS_THAN_FIVE_HUNDRED', description: 'User list has less than 500 users.', index: 2 }, + { + s: 'LESS_THAN_ONE_THOUSAND', + description: 'User list has number of users in range of 500 to 1000.', + index: 3, + }, { s: 'ONE_THOUSAND_TO_TEN_THOUSAND', description: 'User list has number of users in range of 1000 to 10000.', + index: 4, }, { s: 'TEN_THOUSAND_TO_FIFTY_THOUSAND', description: 'User list has number of users in range of 10000 to 50000.', + index: 5, }, { s: 'FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND', description: 'User list has number of users in range of 50000 to 100000.', + index: 6, }, { s: 'ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND', description: 'User list has number of users in range of 100000 to 300000.', + index: 7, }, { s: 'THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND', description: 'User list has number of users in range of 300000 to 500000.', + index: 8, }, { s: 'FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION', description: 'User list has number of users in range of 500000 to 1 million.', + index: 9, }, { s: 'ONE_MILLION_TO_TWO_MILLION', description: 'User list has number of users in range of 1 to 2 millions.', + index: 10, }, { s: 'TWO_MILLION_TO_THREE_MILLION', description: 'User list has number of users in range of 2 to 3 millions.', + index: 11, }, { s: 'THREE_MILLION_TO_FIVE_MILLION', description: 'User list has number of users in range of 3 to 5 millions.', + index: 12, }, { s: 'FIVE_MILLION_TO_TEN_MILLION', description: 'User list has number of users in range of 5 to 10 millions.', + index: 13, }, { s: 'TEN_MILLION_TO_TWENTY_MILLION', description: 'User list has number of users in range of 10 to 20 millions.', + index: 14, }, { s: 'TWENTY_MILLION_TO_THIRTY_MILLION', description: 'User list has number of users in range of 20 to 30 millions.', + index: 15, }, { s: 'THIRTY_MILLION_TO_FIFTY_MILLION', description: 'User list has number of users in range of 30 to 50 millions.', + index: 16, }, - { s: 'OVER_FIFTY_MILLION', description: 'User list has over 50 million users.' }, + { s: 'OVER_FIFTY_MILLION', description: 'User list has over 50 million users.', index: 17 }, ], _type: 'enum', }, @@ -786,80 +860,118 @@ module.exports = { _description: 'Output only. Size range in terms of number of users of the UserList, for Search ads. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'LESS_THAN_FIVE_HUNDRED', description: 'User list has less than 500 users.' }, - { s: 'LESS_THAN_ONE_THOUSAND', description: 'User list has number of users in range of 500 to 1000.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { s: 'LESS_THAN_FIVE_HUNDRED', description: 'User list has less than 500 users.', index: 2 }, + { + s: 'LESS_THAN_ONE_THOUSAND', + description: 'User list has number of users in range of 500 to 1000.', + index: 3, + }, { s: 'ONE_THOUSAND_TO_TEN_THOUSAND', description: 'User list has number of users in range of 1000 to 10000.', + index: 4, }, { s: 'TEN_THOUSAND_TO_FIFTY_THOUSAND', description: 'User list has number of users in range of 10000 to 50000.', + index: 5, }, { s: 'FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND', description: 'User list has number of users in range of 50000 to 100000.', + index: 6, }, { s: 'ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND', description: 'User list has number of users in range of 100000 to 300000.', + index: 7, }, { s: 'THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND', description: 'User list has number of users in range of 300000 to 500000.', + index: 8, }, { s: 'FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION', description: 'User list has number of users in range of 500000 to 1 million.', + index: 9, }, { s: 'ONE_MILLION_TO_TWO_MILLION', description: 'User list has number of users in range of 1 to 2 millions.', + index: 10, }, { s: 'TWO_MILLION_TO_THREE_MILLION', description: 'User list has number of users in range of 2 to 3 millions.', + index: 11, }, { s: 'THREE_MILLION_TO_FIVE_MILLION', description: 'User list has number of users in range of 3 to 5 millions.', + index: 12, }, { s: 'FIVE_MILLION_TO_TEN_MILLION', description: 'User list has number of users in range of 5 to 10 millions.', + index: 13, }, { s: 'TEN_MILLION_TO_TWENTY_MILLION', description: 'User list has number of users in range of 10 to 20 millions.', + index: 14, }, { s: 'TWENTY_MILLION_TO_THIRTY_MILLION', description: 'User list has number of users in range of 20 to 30 millions.', + index: 15, }, { s: 'THIRTY_MILLION_TO_FIFTY_MILLION', description: 'User list has number of users in range of 30 to 50 millions.', + index: 16, }, - { s: 'OVER_FIFTY_MILLION', description: 'User list has over 50 million users.' }, + { s: 'OVER_FIFTY_MILLION', description: 'User list has over 50 million users.', index: 17 }, ], _type: 'enum', }, type: { _description: 'Output only. Type of this list. This field is read-only.', _enums: [ - { s: 'UNSPECIFIED', description: 'Not specified.' }, - { s: 'UNKNOWN', description: 'Used for return value only. Represents value unknown in this version.' }, - { s: 'REMARKETING', description: 'UserList represented as a collection of conversion types.' }, - { s: 'LOGICAL', description: 'UserList represented as a combination of other user lists/interests.' }, - { s: 'EXTERNAL_REMARKETING', description: 'UserList created in the Google Ad Manager platform.' }, - { s: 'RULE_BASED', description: 'UserList associated with a rule.' }, - { s: 'SIMILAR', description: 'UserList with users similar to users of another UserList.' }, + { s: 'UNSPECIFIED', description: 'Not specified.', index: 0 }, + { + s: 'UNKNOWN', + description: 'Used for return value only. Represents value unknown in this version.', + index: 1, + }, + { + s: 'REMARKETING', + description: 'UserList represented as a collection of conversion types.', + index: 2, + }, + { + s: 'LOGICAL', + description: 'UserList represented as a combination of other user lists/interests.', + index: 3, + }, + { + s: 'EXTERNAL_REMARKETING', + description: 'UserList created in the Google Ad Manager platform.', + index: 4, + }, + { s: 'RULE_BASED', description: 'UserList associated with a rule.', index: 5 }, + { s: 'SIMILAR', description: 'UserList with users similar to users of another UserList.', index: 6 }, { s: 'CRM_BASED', description: 'UserList of first-party CRM data provided by advertiser in the form of\nemails or other formats.', + index: 7, }, ], _type: 'enum', diff --git a/docs/src/components/enums.jsx b/docs/src/components/enums.jsx index 848f2df6..6b1eb008 100644 --- a/docs/src/components/enums.jsx +++ b/docs/src/components/enums.jsx @@ -16,12 +16,12 @@ class Enums extends React.Component { render() { const { enums } = this.props - const rows = enums.map((el, index) => { + const rows = enums.map(el => { return (
  • {el.s} - ({index}) + ({el.index})
    {el.description}
  • @@ -29,10 +29,7 @@ class Enums extends React.Component { }) return (
    -
    +
    diff --git a/scripts/generate_services.js b/scripts/generate_services.js index 3ee8c2e2..f8bed610 100644 --- a/scripts/generate_services.js +++ b/scripts/generate_services.js @@ -11,7 +11,7 @@ */ const fs = require('fs-extra') -const { template, camelCase, snakeCase, endsWith, get, maxBy } = require('lodash') +const { template, camelCase, snakeCase, endsWith, get, maxBy, map } = require('lodash') const Promise = require('bluebird') @@ -164,9 +164,17 @@ const raw_compiled_services = require('./compiled_resources.json') const compiled_resources = raw_compiled_services.nested.google.nested.ads.nested.googleads.nested.v3.nested.resources.nested -// raw_compiled_services.nested. -// console.log(compiled_resources) +const compiled_resources_enums = + raw_compiled_services.nested.google.nested.ads.nested.googleads.nested.v3.nested.enums.nested + +// We need this atrocity to figure out what the real enum numbers are. It works 99% of the time, every time. +const enums_keyed_by_values = {} +map(compiled_resources_enums, ({ nested }, key) => { + const enum_values = nested[Object.keys(nested)[0]].values + enums_keyed_by_values[Object.keys(enum_values).join(',')] = enum_values +}) + const references = raw_schema.schemas var myResolver = { @@ -419,11 +427,13 @@ async function compileService(entity, schema) { const _new_object = {} if (obj[key].enum) { + const matching_complied_resources_enum = enums_keyed_by_values[obj[key].enum.join(',')] _new_object._type = 'enum' _new_object._enums = obj[key].enum.map((_enum, index) => { return { s: _enum, description: obj[key].enumDescriptions[index], + index: get(matching_complied_resources_enum, _enum), } }) } else { From 2feeab3030c987f78fbb70480aaafe71949afb91 Mon Sep 17 00:00:00 2001 From: kritzware Date: Tue, 23 Jun 2020 10:45:45 +0100 Subject: [PATCH 2/8] chore(deps): upgraded google-ads-node to 1.15.5 (#143) * chore(customer): minor linting * chore(deps): upgraded google-ads-node to 1.15.5 * fix(service): filter undefined resource names --- package.json | 2 +- src/services/service.ts | 2 +- src/tests/customer.test.ts | 11 +++++----- yarn.lock | 42 +++++++++++++++++++------------------- 4 files changed, 29 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index d24a73eb..fb6e31f3 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ }, "dependencies": { "bottleneck": "^2.16.1", - "google-ads-node": "1.15.4", + "google-ads-node": "1.15.5", "lodash": "^4.17.15", "redis": "^2.8.0", "request": "^2.88.0" diff --git a/src/services/service.ts b/src/services/service.ts index c5397d84..95a7ca0f 100644 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -210,7 +210,7 @@ export default class Service { partial_failure_error: parsed_results.partial_failure_error, results: parsed_results.mutate_operation_responses.map((r: any) => { // @ts-ignore Object.values not recognised - const { resource_name } = Object.values(r)[0] + const { resource_name } = Object.values(r).filter(r => r)[0] return resource_name }), } diff --git a/src/tests/customer.test.ts b/src/tests/customer.test.ts index d0343021..11bb6595 100644 --- a/src/tests/customer.test.ts +++ b/src/tests/customer.test.ts @@ -11,7 +11,8 @@ import { getRandomName, CAMPAIGN_ID, newCustomerWithNodeOptions, - newMccCustomer, newGadsAPIClient, + newMccCustomer, + newGadsAPIClient, } from '../test_utils' import { CreateCustomerFlowSettings, CreateCustomerOptions, MutateResourceOperation } from '../types' @@ -273,7 +274,7 @@ describe('customer', () => { descriptive_name: getRandomName('account'), currency_code: 'CAD', time_zone: 'America/Toronto', - } + }, } const result = await master_customer.createCustomerClient(c) @@ -281,7 +282,7 @@ describe('customer', () => { expect(result).toBeDefined() expect(typeof result).toBe('object') expect((result as CreateCustomerClientResponse).resource_name).toBeDefined() - expect((result as CreateCustomerClientResponse).resource_name!.includes('customers/')).toEqual(true); + expect((result as CreateCustomerClientResponse).resource_name!.includes('customers/')).toEqual(true) }) it('should create a new sub customer and return CustomerInstance', async () => { @@ -291,11 +292,11 @@ describe('customer', () => { descriptive_name: getRandomName('account'), currency_code: 'CAD', time_zone: 'America/Toronto', - } + }, } const flow_settings: CreateCustomerFlowSettings = { return_customer: true, - gads_api: client + gads_api: client, } const result = await master_customer.createCustomerClient(c, flow_settings) diff --git a/yarn.lock b/yarn.lock index 733bbe59..ce4fdbff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -459,9 +459,9 @@ "@types/lodash" "*" "@types/lodash@*": - version "4.14.155" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.155.tgz#e2b4514f46a261fd11542e47519c20ebce7bc23a" - integrity sha512-vEcX7S7aPhsBCivxMwAANQburHBtfN9RdyXFk84IJmu2Z4Hkg1tOFgaslRiEqqvoLtbCBi6ika1EMspE+NZ9Lg== + version "4.14.156" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.156.tgz#cbe30909c89a1feeb7c60803e785344ea0ec82d1" + integrity sha512-l2AgHXcKUwx2DsvP19wtRPqZ4NkONjmorOdq4sMcxIjqdIuuV/ULo2ftuv4NUpevwfW7Ju/UKLqo0ZXuEt/8lQ== "@types/lodash@^4.14.112": version "4.14.138" @@ -479,9 +479,9 @@ integrity sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvXHq+5rnCKA== "@types/node@^13.7.0": - version "13.13.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.10.tgz#34a9be3cbc409fd235984bd18a130006f5234396" - integrity sha512-J+FbkhLTcFstD7E5mVZDjYxa1VppwT2HALE6H3n2AnBSP8uiCQk0Pyr6BkJcP38dFV9WecoVJRJmFnl9ikIW7Q== + version "13.13.12" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.12.tgz#9c72e865380a7dc99999ea0ef20fc9635b503d20" + integrity sha512-zWz/8NEPxoXNT9YyF2osqyA9WjssZukYpgI4UYZpOjcyqwIUqWGkcCionaEb9Ki+FULyPyvNFpg/329Kd2/pbw== "@types/protobufjs@^6.0.0": version "6.0.0" @@ -805,10 +805,10 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -bignumber.js@^7.0.0: - version "7.2.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-7.2.1.tgz#80c048759d826800807c4bfd521e50edbba57a5f" - integrity sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ== +bignumber.js@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.0.tgz#805880f84a329b5eac6e7cb6f8274b6d82bdf075" + integrity sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A== bluebird@^3.5.2: version "3.5.5" @@ -1748,9 +1748,9 @@ fast-levenshtein@~2.0.4: integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= fast-text-encoding@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/fast-text-encoding/-/fast-text-encoding-1.0.2.tgz#ff1ad5677bde049e0f8656aa6083a7ef2c5836e2" - integrity sha512-5rQdinSsycpzvAoHga2EDn+LRX1d5xLFsuNG0Kg61JrAT/tASXcLL0nf/33v+sAxlQcfYmWbTURa1mmAf55jGw== + version "1.0.3" + resolved "https://registry.yarnpkg.com/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz#ec02ac8e01ab8a319af182dae2681213cfe9ce53" + integrity sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig== fb-watchman@^2.0.0: version "2.0.0" @@ -2032,10 +2032,10 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -google-ads-node@1.15.4: - version "1.15.4" - resolved "https://registry.yarnpkg.com/google-ads-node/-/google-ads-node-1.15.4.tgz#234fc02bb1ddc0d191605ab3e5fb423529a18245" - integrity sha512-zV3e4A4yZhwifNCDMn+hhMPJHKXEaAvZGUWCiior4MNtuYVYSVt4HHYaV+hPK+4lsSY4XjLDFGq3Kmpwun4maQ== +google-ads-node@1.15.5: + version "1.15.5" + resolved "https://registry.yarnpkg.com/google-ads-node/-/google-ads-node-1.15.5.tgz#b9b594c2b731ef84e2b268ebd3efbc610f2f00f2" + integrity sha512-D9pvxppwhpJR9NxgNKGWhnNj0JJTfBJ7gcTP8BGGMpvyCxyigtYnYLUpUgkIIPnjI+E7d2ZW6G4V2KTwySxOTw== dependencies: "@types/cosmiconfig" "^5.0.3" "@types/google-protobuf" "^3.2.7" @@ -2978,11 +2978,11 @@ jsesc@^2.5.1: integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== json-bigint@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/json-bigint/-/json-bigint-0.3.0.tgz#0ccd912c4b8270d05f056fbd13814b53d3825b1e" - integrity sha1-DM2RLEuCcNBfBW+9E4FLU9OCWx4= + version "0.3.1" + resolved "https://registry.yarnpkg.com/json-bigint/-/json-bigint-0.3.1.tgz#0c1729d679f580d550899d6a2226c228564afe60" + integrity sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ== dependencies: - bignumber.js "^7.0.0" + bignumber.js "^9.0.0" json-parse-better-errors@^1.0.1: version "1.0.2" From 44c80c005643576915b62bfa4100bbe59820637f Mon Sep 17 00:00:00 2001 From: Louis Bluhm Date: Tue, 23 Jun 2020 09:51:03 +0000 Subject: [PATCH 3/8] chore(release): 3.7.2 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93a32523..b32a4819 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.7.2](https://github.com/Opteo/google-ads-api/compare/v3.7.1...v3.7.2) (2020-06-23) + + +### Bug Fixes + +* **docs:** show correct numbers for enums, fixes [#78](https://github.com/Opteo/google-ads-api/issues/78) and [#120](https://github.com/Opteo/google-ads-api/issues/120) ([90e85d1](https://github.com/Opteo/google-ads-api/commit/90e85d1)) + + + ## [3.7.1](https://github.com/Opteo/google-ads-api/compare/v3.7.0...v3.7.1) (2020-06-12) diff --git a/package.json b/package.json index fb6e31f3..a913275a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-ads-api", - "version": "3.7.1", + "version": "3.7.2", "description": "Google Ads API Client Library for JavaScript", "main": "./build/index.js", "typings": "./build/index.d.ts", From e41da87b10480b00c051a011a9080ee1ef49eabe Mon Sep 17 00:00:00 2001 From: kritzware Date: Thu, 25 Jun 2020 12:17:18 +0100 Subject: [PATCH 4/8] chore(deps): upgraded google-ads-node to 1.15.6 (#144) --- package.json | 2 +- yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index a913275a..ec37158c 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ }, "dependencies": { "bottleneck": "^2.16.1", - "google-ads-node": "1.15.5", + "google-ads-node": "1.15.6", "lodash": "^4.17.15", "redis": "^2.8.0", "request": "^2.88.0" diff --git a/yarn.lock b/yarn.lock index ce4fdbff..c2e62bfb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -459,9 +459,9 @@ "@types/lodash" "*" "@types/lodash@*": - version "4.14.156" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.156.tgz#cbe30909c89a1feeb7c60803e785344ea0ec82d1" - integrity sha512-l2AgHXcKUwx2DsvP19wtRPqZ4NkONjmorOdq4sMcxIjqdIuuV/ULo2ftuv4NUpevwfW7Ju/UKLqo0ZXuEt/8lQ== + version "4.14.157" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.157.tgz#fdac1c52448861dfde1a2e1515dbc46e54926dc8" + integrity sha512-Ft5BNFmv2pHDgxV5JDsndOWTRJ+56zte0ZpYLowp03tW+K+t8u8YMOzAnpuqPgzX6WO1XpDIUm7u04M8vdDiVQ== "@types/lodash@^4.14.112": version "4.14.138" @@ -2032,10 +2032,10 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -google-ads-node@1.15.5: - version "1.15.5" - resolved "https://registry.yarnpkg.com/google-ads-node/-/google-ads-node-1.15.5.tgz#b9b594c2b731ef84e2b268ebd3efbc610f2f00f2" - integrity sha512-D9pvxppwhpJR9NxgNKGWhnNj0JJTfBJ7gcTP8BGGMpvyCxyigtYnYLUpUgkIIPnjI+E7d2ZW6G4V2KTwySxOTw== +google-ads-node@1.15.6: + version "1.15.6" + resolved "https://registry.yarnpkg.com/google-ads-node/-/google-ads-node-1.15.6.tgz#5aac7342dfb3a5155dcae722f7bf0461bca607be" + integrity sha512-PAMFlr8kzilP24ZFQy3dt55LafdymLx/HWWWmZZdB2DpvqYAdj7xJ6DDiJd8c8iYBq5/VvNoQ2rVNCgsJqwnBw== dependencies: "@types/cosmiconfig" "^5.0.3" "@types/google-protobuf" "^3.2.7" From b6912997dc6ac8fd34ee0f1320e17f41c67a861d Mon Sep 17 00:00:00 2001 From: Louis Bluhm Date: Thu, 25 Jun 2020 11:19:02 +0000 Subject: [PATCH 5/8] chore(release): 3.7.3 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b32a4819..3ea00d26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.7.3](https://github.com/Opteo/google-ads-api/compare/v3.7.2...v3.7.3) (2020-06-25) + + + ## [3.7.2](https://github.com/Opteo/google-ads-api/compare/v3.7.1...v3.7.2) (2020-06-23) diff --git a/package.json b/package.json index ec37158c..4b92463f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-ads-api", - "version": "3.7.2", + "version": "3.7.3", "description": "Google Ads API Client Library for JavaScript", "main": "./build/index.js", "typings": "./build/index.d.ts", From 530e47f80970e4e5d418866d9cc020d1e431c8b8 Mon Sep 17 00:00:00 2001 From: kritzware Date: Fri, 26 Jun 2020 15:51:58 +0100 Subject: [PATCH 6/8] chore(deps): upgraded google-ads-node to 1.15.7 (#145) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4b92463f..f214a64c 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ }, "dependencies": { "bottleneck": "^2.16.1", - "google-ads-node": "1.15.6", + "google-ads-node": "1.15.7", "lodash": "^4.17.15", "redis": "^2.8.0", "request": "^2.88.0" diff --git a/yarn.lock b/yarn.lock index c2e62bfb..25f94b4c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2032,10 +2032,10 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -google-ads-node@1.15.6: - version "1.15.6" - resolved "https://registry.yarnpkg.com/google-ads-node/-/google-ads-node-1.15.6.tgz#5aac7342dfb3a5155dcae722f7bf0461bca607be" - integrity sha512-PAMFlr8kzilP24ZFQy3dt55LafdymLx/HWWWmZZdB2DpvqYAdj7xJ6DDiJd8c8iYBq5/VvNoQ2rVNCgsJqwnBw== +google-ads-node@1.15.7: + version "1.15.7" + resolved "https://registry.yarnpkg.com/google-ads-node/-/google-ads-node-1.15.7.tgz#689237a4185eee46ab796833cba7129959ea555b" + integrity sha512-nvaHju5wKfjlhAUGvhGKdyFGd/hsERXJiGxwYDIyI7+r343JOGkkxWMBYd7PHmJM8X3tPChyruR3Q8H0U1yI9w== dependencies: "@types/cosmiconfig" "^5.0.3" "@types/google-protobuf" "^3.2.7" From 3395c304b530588148982b116f4a61a3f38fc30e Mon Sep 17 00:00:00 2001 From: Louis Bluhm Date: Fri, 26 Jun 2020 14:53:34 +0000 Subject: [PATCH 7/8] chore(release): 3.7.4 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ea00d26..fb10b93f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.7.4](https://github.com/Opteo/google-ads-api/compare/v3.7.3...v3.7.4) (2020-06-26) + + + ## [3.7.3](https://github.com/Opteo/google-ads-api/compare/v3.7.2...v3.7.3) (2020-06-25) diff --git a/package.json b/package.json index f214a64c..d7a7ad73 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-ads-api", - "version": "3.7.3", + "version": "3.7.4", "description": "Google Ads API Client Library for JavaScript", "main": "./build/index.js", "typings": "./build/index.d.ts", From 9bf4a60c4d32c4e2492b2c58cf90f66383dce57a Mon Sep 17 00:00:00 2001 From: Bilal Akbar Date: Thu, 16 Jul 2020 16:11:12 +0200 Subject: [PATCH 8/8] Added docs for suggest function in GeoTargetConstant entity --- .../entities/geo_target_constant/meta.js | 2 +- .../entities/geo_target_constant/suggest.md | 29 ++++++++++ .../geo_target_constant/suggest_code.md | 53 +++++++++++++++++++ 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 docs/content/entities/geo_target_constant/suggest.md create mode 100644 docs/content/entities/geo_target_constant/suggest_code.md diff --git a/docs/content/entities/geo_target_constant/meta.js b/docs/content/entities/geo_target_constant/meta.js index 6e274087..ebdefe47 100644 --- a/docs/content/entities/geo_target_constant/meta.js +++ b/docs/content/entities/geo_target_constant/meta.js @@ -37,5 +37,5 @@ module.exports = { }, target_type: { _description: 'Output only. Geo target constant target type.', _type: 'string' }, }, - methods: ['get', 'list'], + methods: ['get', 'list', 'suggest'], } diff --git a/docs/content/entities/geo_target_constant/suggest.md b/docs/content/entities/geo_target_constant/suggest.md new file mode 100644 index 00000000..c74521e5 --- /dev/null +++ b/docs/content/entities/geo_target_constant/suggest.md @@ -0,0 +1,29 @@ +--- +title: Get GeoTargetConstants Suggestions +order: 4 +type: suggest +entity: GeoTargetConstant +--- + +### Get GeoTargetConstant Suggestions + +The `customer.geoTargetConstants.suggest()` method returns geo target constant suggestion. + + + +#### Arguments + +- ##### locale *optional* + If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets. +- ##### country_code *optional* + Returned geo targets are restricted to this country code. +- ##### location_names *optional, array/object* + The location names to search by. At most 25 names can be set. +- ##### geo_targets *optional, array/object* + The geo target constant resource names to filter by. + + +#### Returns + +Returns an array of objects. +Each object has `locale`, `reach`, `search_term`, `geo_target_constant` and `geo_target_constant_parents[]` properties. \ No newline at end of file diff --git a/docs/content/entities/geo_target_constant/suggest_code.md b/docs/content/entities/geo_target_constant/suggest_code.md new file mode 100644 index 00000000..bddec238 --- /dev/null +++ b/docs/content/entities/geo_target_constant/suggest_code.md @@ -0,0 +1,53 @@ +--- +title: Get GeoTargetConstants Suggestions +order: 4.1 +type: suggest_code +entity: GeoTargetConstant +--- + +```javascript +// Get geo target constant suggestions +let result = await customer.geoTargetConstants.suggest({ + locale: "en", + country_code: "GB", + location_names: { names: ["London"] } + }) +``` + +```javascript +// Example result +;[ + { + "locale": "en", + "reach": 32000000, + "search_term": "London", + "geo_target_constant": { + "resource_name": "geoTargetConstants/1006886", + "id": 1006886, + "name": "London", + "country_code": "GB", + "target_type": "City", + "status": 2, + "canonical_name": "London,England,United Kingdom" + }, + "geo_target_constant_parents_list": [ + { + "resource_name": "geoTargetConstants/20339", + "id": 20339, + "name": "England", + "country_code": "GB", + "target_type": "Province", + "status": 2 + }, + { + "resource_name": "geoTargetConstants/2826", + "id": 2826, + "name": "United Kingdom", + "country_code": "GB", + "target_type": "Country", + "status": 2 + } + ] + } +] +```