late-sdk 0.0.900 → 0.0.902

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +60 -6
  3. data/docs/AdAccountsApi.md +657 -19
  4. data/docs/AdCampaignsApi.md +521 -9
  5. data/docs/AdCreative.md +6 -0
  6. data/docs/AddAccountCalloutsRequest.md +3 -3
  7. data/docs/AddAccountSitelinks201Response.md +20 -0
  8. data/docs/AddAccountSitelinks201ResponseSitelinksInner.md +26 -0
  9. data/docs/AddAccountSitelinksRequest.md +22 -0
  10. data/docs/AddAccountStructuredSnippets201Response.md +20 -0
  11. data/docs/AddAccountStructuredSnippets201ResponseStructuredSnippetsInner.md +22 -0
  12. data/docs/AddAccountStructuredSnippetsRequest.md +22 -0
  13. data/docs/AttachAdGroupAssets201Response.md +24 -0
  14. data/docs/AttachCampaignAssetsRequest.md +4 -4
  15. data/docs/CreateStandaloneAdRequest.md +4 -4
  16. data/docs/CreateStandaloneAdRequestAdditionalDescriptionsInner.md +49 -0
  17. data/docs/CreateStandaloneAdRequestAdditionalHeadlinesInner.md +49 -0
  18. data/docs/GetAd200Response.md +5 -1
  19. data/docs/GoogleAssetUpdate.md +26 -0
  20. data/docs/GoogleRsaDescription.md +20 -0
  21. data/docs/GoogleRsaHeadline.md +20 -0
  22. data/docs/{AttachCampaignAssetsRequestSitelinksInner.md → GoogleSitelink.md} +2 -2
  23. data/docs/{AttachCampaignAssetsRequestStructuredSnippetsInner.md → GoogleStructuredSnippet.md} +2 -2
  24. data/docs/ListAccountCallouts200Response.md +2 -2
  25. data/docs/ListAccountCallouts200ResponseCalloutsInner.md +3 -3
  26. data/docs/ListAccountSitelinks200Response.md +24 -0
  27. data/docs/ListAccountSitelinks200ResponseSitelinksInner.md +32 -0
  28. data/docs/ListAccountStructuredSnippets200Response.md +24 -0
  29. data/docs/ListAccountStructuredSnippets200ResponseStructuredSnippetsInner.md +28 -0
  30. data/docs/ListAdGroupAssets200Response.md +28 -0
  31. data/docs/ListAdGroupAssets200ResponseCalloutsInner.md +22 -0
  32. data/docs/ListAdGroupAssets200ResponseSitelinksInner.md +28 -0
  33. data/docs/ListAdGroupAssets200ResponseStructuredSnippetsInner.md +24 -0
  34. data/docs/ListCampaignAssets200Response.md +28 -0
  35. data/docs/ListCampaignAssets200ResponseCalloutsInner.md +22 -0
  36. data/docs/ListCampaignAssets200ResponseSitelinksInner.md +28 -0
  37. data/docs/ListCampaignAssets200ResponseStructuredSnippetsInner.md +24 -0
  38. data/docs/RemoveAccountCalloutRequest.md +3 -3
  39. data/docs/RemoveAdGroupAssetsRequest.md +24 -0
  40. data/docs/RemoveCampaignAssets200Response.md +18 -0
  41. data/docs/RemoveCampaignAssetsRequest.md +24 -0
  42. data/docs/UpdateAccountCallouts200Response.md +20 -0
  43. data/docs/UpdateAccountCalloutsRequest.md +22 -0
  44. data/docs/UpdateAccountCalloutsRequestUpdatesInner.md +20 -0
  45. data/docs/UpdateAccountCalloutsRequestUpdatesInnerCalloutAsset.md +18 -0
  46. data/docs/UpdateAccountSitelinksRequest.md +22 -0
  47. data/docs/UpdateAccountSitelinksRequestUpdatesInner.md +22 -0
  48. data/docs/UpdateAccountSitelinksRequestUpdatesInnerSitelinkAsset.md +24 -0
  49. data/docs/UpdateAccountStructuredSnippetsRequest.md +22 -0
  50. data/docs/UpdateAccountStructuredSnippetsRequestUpdatesInner.md +20 -0
  51. data/docs/UpdateAdRequest.md +6 -0
  52. data/docs/UpdateCampaignAssets200Response.md +18 -0
  53. data/docs/UpdateCampaignAssetsRequest.md +22 -0
  54. data/docs/WebhookEventsApi.md +2 -2
  55. data/lib/zernio-sdk/api/ad_accounts_api.rb +656 -16
  56. data/lib/zernio-sdk/api/ad_campaigns_api.rb +586 -10
  57. data/lib/zernio-sdk/api/webhook_events_api.rb +4 -4
  58. data/lib/zernio-sdk/models/ad_creative.rb +112 -1
  59. data/lib/zernio-sdk/models/add_account_callouts_request.rb +34 -3
  60. data/lib/zernio-sdk/models/add_account_sitelinks201_response.rb +158 -0
  61. data/lib/zernio-sdk/models/add_account_sitelinks201_response_sitelinks_inner.rb +267 -0
  62. data/lib/zernio-sdk/models/add_account_sitelinks_request.rb +253 -0
  63. data/lib/zernio-sdk/models/add_account_structured_snippets201_response.rb +158 -0
  64. data/lib/zernio-sdk/models/add_account_structured_snippets201_response_structured_snippets_inner.rb +229 -0
  65. data/lib/zernio-sdk/models/add_account_structured_snippets_request.rb +253 -0
  66. data/lib/zernio-sdk/models/attach_ad_group_assets201_response.rb +180 -0
  67. data/lib/zernio-sdk/models/attach_campaign_assets_request.rb +37 -5
  68. data/lib/zernio-sdk/models/create_standalone_ad_request.rb +4 -4
  69. data/lib/zernio-sdk/models/create_standalone_ad_request_additional_descriptions_inner.rb +104 -0
  70. data/lib/zernio-sdk/models/create_standalone_ad_request_additional_headlines_inner.rb +104 -0
  71. data/lib/zernio-sdk/models/get_ad200_response.rb +25 -4
  72. data/lib/zernio-sdk/models/google_asset_update.rb +234 -0
  73. data/lib/zernio-sdk/models/google_rsa_description.rb +226 -0
  74. data/lib/zernio-sdk/models/google_rsa_headline.rb +226 -0
  75. data/lib/zernio-sdk/models/{attach_campaign_assets_request_sitelinks_inner.rb → google_sitelink.rb} +3 -3
  76. data/lib/zernio-sdk/models/{attach_campaign_assets_request_structured_snippets_inner.rb → google_structured_snippet.rb} +3 -3
  77. data/lib/zernio-sdk/models/list_account_callouts200_response.rb +2 -2
  78. data/lib/zernio-sdk/models/list_account_callouts200_response_callouts_inner.rb +13 -14
  79. data/lib/zernio-sdk/models/list_account_sitelinks200_response.rb +179 -0
  80. data/lib/zernio-sdk/models/list_account_sitelinks200_response_sitelinks_inner.rb +210 -0
  81. data/lib/zernio-sdk/models/list_account_structured_snippets200_response.rb +179 -0
  82. data/lib/zernio-sdk/models/list_account_structured_snippets200_response_structured_snippets_inner.rb +194 -0
  83. data/lib/zernio-sdk/models/list_ad_group_assets200_response.rb +201 -0
  84. data/lib/zernio-sdk/models/list_ad_group_assets200_response_callouts_inner.rb +165 -0
  85. data/lib/zernio-sdk/models/list_ad_group_assets200_response_sitelinks_inner.rb +192 -0
  86. data/lib/zernio-sdk/models/list_ad_group_assets200_response_structured_snippets_inner.rb +176 -0
  87. data/lib/zernio-sdk/models/list_campaign_assets200_response.rb +201 -0
  88. data/lib/zernio-sdk/models/list_campaign_assets200_response_callouts_inner.rb +165 -0
  89. data/lib/zernio-sdk/models/list_campaign_assets200_response_sitelinks_inner.rb +192 -0
  90. data/lib/zernio-sdk/models/list_campaign_assets200_response_structured_snippets_inner.rb +176 -0
  91. data/lib/zernio-sdk/models/remove_account_callout_request.rb +45 -3
  92. data/lib/zernio-sdk/models/remove_ad_group_assets_request.rb +281 -0
  93. data/lib/zernio-sdk/models/remove_campaign_assets200_response.rb +147 -0
  94. data/lib/zernio-sdk/models/remove_campaign_assets_request.rb +281 -0
  95. data/lib/zernio-sdk/models/update_account_callouts200_response.rb +156 -0
  96. data/lib/zernio-sdk/models/update_account_callouts_request.rb +253 -0
  97. data/lib/zernio-sdk/models/update_account_callouts_request_updates_inner.rb +186 -0
  98. data/lib/zernio-sdk/models/update_account_callouts_request_updates_inner_callout_asset.rb +182 -0
  99. data/lib/zernio-sdk/models/update_account_sitelinks_request.rb +253 -0
  100. data/lib/zernio-sdk/models/update_account_sitelinks_request_updates_inner.rb +216 -0
  101. data/lib/zernio-sdk/models/update_account_sitelinks_request_updates_inner_sitelink_asset.rb +241 -0
  102. data/lib/zernio-sdk/models/update_account_structured_snippets_request.rb +253 -0
  103. data/lib/zernio-sdk/models/update_account_structured_snippets_request_updates_inner.rb +186 -0
  104. data/lib/zernio-sdk/models/update_ad_request.rb +112 -1
  105. data/lib/zernio-sdk/models/update_campaign_assets200_response.rb +147 -0
  106. data/lib/zernio-sdk/models/update_campaign_assets_request.rb +253 -0
  107. data/lib/zernio-sdk/models/webhook_payload_post_platform.rb +1 -1
  108. data/lib/zernio-sdk/version.rb +1 -1
  109. data/lib/zernio-sdk.rb +40 -2
  110. data/openapi.yaml +2027 -329
  111. data/spec/api/ad_accounts_api_spec.rb +118 -8
  112. data/spec/api/ad_campaigns_api_spec.rb +98 -5
  113. data/spec/models/ad_creative_spec.rb +18 -0
  114. data/spec/models/add_account_sitelinks201_response_sitelinks_inner_spec.rb +60 -0
  115. data/spec/models/add_account_sitelinks201_response_spec.rb +42 -0
  116. data/spec/models/add_account_sitelinks_request_spec.rb +48 -0
  117. data/spec/models/add_account_structured_snippets201_response_spec.rb +42 -0
  118. data/spec/models/add_account_structured_snippets201_response_structured_snippets_inner_spec.rb +52 -0
  119. data/spec/models/add_account_structured_snippets_request_spec.rb +48 -0
  120. data/spec/models/attach_ad_group_assets201_response_spec.rb +54 -0
  121. data/spec/models/create_standalone_ad_request_additional_descriptions_inner_spec.rb +32 -0
  122. data/spec/models/create_standalone_ad_request_additional_headlines_inner_spec.rb +32 -0
  123. data/spec/models/get_ad200_response_spec.rb +12 -0
  124. data/spec/models/google_asset_update_spec.rb +60 -0
  125. data/spec/models/google_rsa_description_spec.rb +46 -0
  126. data/spec/models/google_rsa_headline_spec.rb +46 -0
  127. data/spec/models/{attach_campaign_assets_request_sitelinks_inner_spec.rb → google_sitelink_spec.rb} +6 -6
  128. data/spec/models/{attach_campaign_assets_request_structured_snippets_inner_spec.rb → google_structured_snippet_spec.rb} +6 -6
  129. data/spec/models/list_account_callouts200_response_callouts_inner_spec.rb +2 -2
  130. data/spec/models/list_account_sitelinks200_response_sitelinks_inner_spec.rb +78 -0
  131. data/spec/models/list_account_sitelinks200_response_spec.rb +54 -0
  132. data/spec/models/list_account_structured_snippets200_response_spec.rb +54 -0
  133. data/spec/models/list_account_structured_snippets200_response_structured_snippets_inner_spec.rb +66 -0
  134. data/spec/models/list_ad_group_assets200_response_callouts_inner_spec.rb +48 -0
  135. data/spec/models/list_ad_group_assets200_response_sitelinks_inner_spec.rb +66 -0
  136. data/spec/models/list_ad_group_assets200_response_spec.rb +66 -0
  137. data/spec/models/list_ad_group_assets200_response_structured_snippets_inner_spec.rb +54 -0
  138. data/spec/models/list_campaign_assets200_response_callouts_inner_spec.rb +48 -0
  139. data/spec/models/list_campaign_assets200_response_sitelinks_inner_spec.rb +66 -0
  140. data/spec/models/list_campaign_assets200_response_spec.rb +66 -0
  141. data/spec/models/list_campaign_assets200_response_structured_snippets_inner_spec.rb +54 -0
  142. data/spec/models/remove_ad_group_assets_request_spec.rb +54 -0
  143. data/spec/models/remove_campaign_assets200_response_spec.rb +36 -0
  144. data/spec/models/remove_campaign_assets_request_spec.rb +54 -0
  145. data/spec/models/update_account_callouts200_response_spec.rb +42 -0
  146. data/spec/models/update_account_callouts_request_spec.rb +48 -0
  147. data/spec/models/update_account_callouts_request_updates_inner_callout_asset_spec.rb +36 -0
  148. data/spec/models/update_account_callouts_request_updates_inner_spec.rb +42 -0
  149. data/spec/models/update_account_sitelinks_request_spec.rb +48 -0
  150. data/spec/models/update_account_sitelinks_request_updates_inner_sitelink_asset_spec.rb +54 -0
  151. data/spec/models/update_account_sitelinks_request_updates_inner_spec.rb +48 -0
  152. data/spec/models/update_account_structured_snippets_request_spec.rb +48 -0
  153. data/spec/models/update_account_structured_snippets_request_updates_inner_spec.rb +42 -0
  154. data/spec/models/update_ad_request_spec.rb +18 -0
  155. data/spec/models/update_campaign_assets200_response_spec.rb +36 -0
  156. data/spec/models/update_campaign_assets_request_spec.rb +48 -0
  157. data/zernio-sdk-0.0.902.gem +0 -0
  158. metadata +163 -11
  159. data/zernio-sdk-0.0.900.gem +0 -0
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **account_id** | **String** | Zernio SocialAccount id owning the Google Ads connection. | |
8
- | **customer_id** | **String** | Numeric Google Ads customer id. Only required when the connection has more than one. | [optional] |
9
- | **callouts** | **Array<String>** | Callout text, 1-25 characters each; up to 20 per request (Google's CalloutAsset limits). | |
7
+ | **account_id** | **String** | Zernio Google Ads connection id. | |
8
+ | **customer_id** | **String** | Google customer id without dashes. Required when the connection has multiple customers. | [optional] |
9
+ | **callouts** | **Array<String>** | | |
10
10
 
11
11
  ## Example
12
12
 
@@ -0,0 +1,20 @@
1
+ # Zernio::AddAccountSitelinks201Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | | [optional] |
8
+ | **sitelinks** | [**Array<AddAccountSitelinks201ResponseSitelinksInner>**](AddAccountSitelinks201ResponseSitelinksInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::AddAccountSitelinks201Response.new(
16
+ customer_id: null,
17
+ sitelinks: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # Zernio::AddAccountSitelinks201ResponseSitelinksInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_id** | **String** | | [optional] |
8
+ | **text** | **String** | | [optional] |
9
+ | **link_url** | **String** | | [optional] |
10
+ | **description1** | **String** | | [optional] |
11
+ | **description2** | **String** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'zernio-sdk'
17
+
18
+ instance = Zernio::AddAccountSitelinks201ResponseSitelinksInner.new(
19
+ asset_id: null,
20
+ text: null,
21
+ link_url: null,
22
+ description1: null,
23
+ description2: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # Zernio::AddAccountSitelinksRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_id** | **String** | Zernio Google Ads connection id. | |
8
+ | **customer_id** | **String** | Google customer id without dashes. Required when the connection has multiple customers. | [optional] |
9
+ | **sitelinks** | [**Array<GoogleSitelink>**](GoogleSitelink.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::AddAccountSitelinksRequest.new(
17
+ account_id: null,
18
+ customer_id: null,
19
+ sitelinks: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # Zernio::AddAccountStructuredSnippets201Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | | [optional] |
8
+ | **structured_snippets** | [**Array<AddAccountStructuredSnippets201ResponseStructuredSnippetsInner>**](AddAccountStructuredSnippets201ResponseStructuredSnippetsInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::AddAccountStructuredSnippets201Response.new(
16
+ customer_id: null,
17
+ structured_snippets: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # Zernio::AddAccountStructuredSnippets201ResponseStructuredSnippetsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_id** | **String** | | [optional] |
8
+ | **header** | **String** | | [optional] |
9
+ | **values** | **Array<String>** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::AddAccountStructuredSnippets201ResponseStructuredSnippetsInner.new(
17
+ asset_id: null,
18
+ header: null,
19
+ values: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # Zernio::AddAccountStructuredSnippetsRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_id** | **String** | Zernio Google Ads connection id. | |
8
+ | **customer_id** | **String** | Google customer id without dashes. Required when the connection has multiple customers. | [optional] |
9
+ | **structured_snippets** | [**Array<GoogleStructuredSnippet>**](GoogleStructuredSnippet.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::AddAccountStructuredSnippetsRequest.new(
17
+ account_id: null,
18
+ customer_id: null,
19
+ structured_snippets: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # Zernio::AttachAdGroupAssets201Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ad_group_id** | **String** | | [optional] |
8
+ | **sitelink_asset_resource_names** | **Array<String>** | | [optional] |
9
+ | **callout_asset_resource_names** | **Array<String>** | | [optional] |
10
+ | **structured_snippet_asset_resource_names** | **Array<String>** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::AttachAdGroupAssets201Response.new(
18
+ ad_group_id: null,
19
+ sitelink_asset_resource_names: null,
20
+ callout_asset_resource_names: null,
21
+ structured_snippet_asset_resource_names: null
22
+ )
23
+ ```
24
+
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **account_id** | **String** | Zernio Google Ads SocialAccount id. Resolves the customer id + refresh token. | |
8
- | **customer_id** | **String** | Numeric Google Ads customer id. Required when the connection has multiple Google Ads accounts; optional (and inferred) when it has only one. | [optional] |
9
- | **sitelinks** | [**Array<AttachCampaignAssetsRequestSitelinksInner>**](AttachCampaignAssetsRequestSitelinksInner.md) | See POST /v1/ads/create sitelinks, same shape. | [optional] |
7
+ | **account_id** | **String** | Zernio Google Ads connection id. | |
8
+ | **customer_id** | **String** | Google customer id without dashes. Required when the connection has multiple customers. | [optional] |
9
+ | **sitelinks** | [**Array<GoogleSitelink>**](GoogleSitelink.md) | | [optional] |
10
10
  | **callouts** | **Array<String>** | | [optional] |
11
- | **structured_snippets** | [**Array<AttachCampaignAssetsRequestStructuredSnippetsInner>**](AttachCampaignAssetsRequestStructuredSnippetsInner.md) | | [optional] |
11
+ | **structured_snippets** | [**Array<GoogleStructuredSnippet>**](GoogleStructuredSnippet.md) | | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -82,8 +82,8 @@
82
82
  | **keywords** | [**Array<KeywordEntry>**](KeywordEntry.md) | Google Search only. Keywords on the new ad group; entries are strings (BROAD) or { text, matchType }. Editable later via PUT /v1/ads/{adId} targeting.keywords. | [optional] |
83
83
  | **negative_keywords** | [**Array<KeywordEntry>**](KeywordEntry.md) | Google Search only; other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords. | [optional] |
84
84
  | **campaign_negative_keywords** | [**Array<KeywordEntry>**](KeywordEntry.md) | Google Search only; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords. | [optional] |
85
- | **additional_headlines** | **Array<String>** | Google Search RSA only. Extra headlines. | [optional] |
86
- | **additional_descriptions** | **Array<String>** | Google Search RSA only. Extra descriptions. | [optional] |
85
+ | **additional_headlines** | [**Array<CreateStandaloneAdRequestAdditionalHeadlinesInner>**](CreateStandaloneAdRequestAdditionalHeadlinesInner.md) | Google Search RSA only. Extra text assets as strings or objects with text and optional pinnedField. Existing string input remains supported. The effective create lists, including primary text and deduplication, must contain 3-15 headlines and 2-4 descriptions; excess entries return 400. | [optional] |
86
+ | **additional_descriptions** | [**Array<CreateStandaloneAdRequestAdditionalDescriptionsInner>**](CreateStandaloneAdRequestAdditionalDescriptionsInner.md) | Google Search RSA only. Extra text assets as strings or objects with text and optional pinnedField. Existing string input remains supported. The effective create lists, including primary text and deduplication, must contain 3-15 headlines and 2-4 descriptions; excess entries return 400. | [optional] |
87
87
  | **sitelinks** | [**Array<CreateStandaloneAdRequestSitelinksInner>**](CreateStandaloneAdRequestSitelinksInner.md) | Google Search only. Sitelink assets to create and attach at the campaign level. Each entry becomes an Asset (with sitelink_asset + Asset.final_urls) plus a CampaignAsset link (field_type SITELINK). Approval is async: Google reviews assets after creation; poll asset.policy_summary later to read the verdict. Google requires at least two sitelinks to surface them on an ad; four or more is Google's own recommendation for maximum visibility. The response's creative.sitelinks[] echoes each input plus its Google resourceName. | [optional] |
88
88
  | **callouts** | **Array<String>** | Google Search only. Short callout texts (max 25 chars each) that appear as non-clickable annotations under the ad, e.g. \"Free shipping\", \"24/7 support\". Each becomes one Asset (`callout_asset`) plus a CampaignAsset link with field_type CALLOUT. Response's creative.callouts[] echoes each input plus its Google resourceName. | [optional] |
89
89
  | **structured_snippets** | [**Array<CreateStandaloneAdRequestStructuredSnippetsInner>**](CreateStandaloneAdRequestStructuredSnippetsInner.md) | Google Search only. Structured snippets: one header from Google's predefined list plus 3-10 values (max 25 chars each). Each becomes one Asset (`structured_snippet_asset`) plus a CampaignAsset link with field_type STRUCTURED_SNIPPET. | [optional] |
@@ -192,8 +192,8 @@ instance = Zernio::CreateStandaloneAdRequest.new(
192
192
  keywords: null,
193
193
  negative_keywords: null,
194
194
  campaign_negative_keywords: null,
195
- additional_headlines: null,
196
- additional_descriptions: null,
195
+ additional_headlines: ["Schedule Your Posts",{"text":"Build With Zernio","pinnedField":"HEADLINE_2"}],
196
+ additional_descriptions: ["Build social publishing into your application.",{"text":"Connect social accounts with one API.","pinnedField":"DESCRIPTION_2"}],
197
197
  sitelinks: null,
198
198
  callouts: null,
199
199
  structured_snippets: null,
@@ -0,0 +1,49 @@
1
+ # Zernio::CreateStandaloneAdRequestAdditionalDescriptionsInner
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'zernio-sdk'
13
+
14
+ Zernio::CreateStandaloneAdRequestAdditionalDescriptionsInner.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'GoogleRsaDescription',
18
+ # :'String'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'zernio-sdk'
30
+
31
+ Zernio::CreateStandaloneAdRequestAdditionalDescriptionsInner.build(data)
32
+ # => #<GoogleRsaDescription:0x00007fdd4aab02a0>
33
+
34
+ Zernio::CreateStandaloneAdRequestAdditionalDescriptionsInner.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `GoogleRsaDescription`
47
+ - `String`
48
+ - `nil` (if no type matches)
49
+
@@ -0,0 +1,49 @@
1
+ # Zernio::CreateStandaloneAdRequestAdditionalHeadlinesInner
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'zernio-sdk'
13
+
14
+ Zernio::CreateStandaloneAdRequestAdditionalHeadlinesInner.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'GoogleRsaHeadline',
18
+ # :'String'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'zernio-sdk'
30
+
31
+ Zernio::CreateStandaloneAdRequestAdditionalHeadlinesInner.build(data)
32
+ # => #<GoogleRsaHeadline:0x00007fdd4aab02a0>
33
+
34
+ Zernio::CreateStandaloneAdRequestAdditionalHeadlinesInner.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `GoogleRsaHeadline`
47
+ - `String`
48
+ - `nil` (if no type matches)
49
+
@@ -5,6 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **ad** | [**Ad**](Ad.md) | | [optional] |
8
+ | **cached_at** | **Time** | Google RSA details cache timestamp. | [optional] |
9
+ | **stale** | **Boolean** | Whether Google RSA details use the last successful cached response. | [optional] |
8
10
 
9
11
  ## Example
10
12
 
@@ -12,7 +14,9 @@
12
14
  require 'zernio-sdk'
13
15
 
14
16
  instance = Zernio::GetAd200Response.new(
15
- ad: null
17
+ ad: null,
18
+ cached_at: null,
19
+ stale: null
16
20
  )
17
21
  ```
18
22
 
@@ -0,0 +1,26 @@
1
+ # Zernio::GoogleAssetUpdate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_resource_name** | **String** | Asset resource name returned by a list operation. Must belong to the selected customer. | |
8
+ | **sitelink_asset** | [**UpdateAccountSitelinksRequestUpdatesInnerSitelinkAsset**](UpdateAccountSitelinksRequestUpdatesInnerSitelinkAsset.md) | | [optional] |
9
+ | **final_urls** | **Array&lt;String&gt;** | | [optional] |
10
+ | **callout_asset** | [**UpdateAccountCalloutsRequestUpdatesInnerCalloutAsset**](UpdateAccountCalloutsRequestUpdatesInnerCalloutAsset.md) | | [optional] |
11
+ | **structured_snippet_asset** | [**GoogleStructuredSnippet**](GoogleStructuredSnippet.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'zernio-sdk'
17
+
18
+ instance = Zernio::GoogleAssetUpdate.new(
19
+ asset_resource_name: null,
20
+ sitelink_asset: null,
21
+ final_urls: null,
22
+ callout_asset: null,
23
+ structured_snippet_asset: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,20 @@
1
+ # Zernio::GoogleRsaDescription
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **text** | **String** | | |
8
+ | **pinned_field** | **String** | Optional fixed description position. Omit to leave the asset unpinned. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::GoogleRsaDescription.new(
16
+ text: null,
17
+ pinned_field: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Zernio::GoogleRsaHeadline
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **text** | **String** | | |
8
+ | **pinned_field** | **String** | Optional fixed headline position. Omit to leave the asset unpinned. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::GoogleRsaHeadline.new(
16
+ text: null,
17
+ pinned_field: null
18
+ )
19
+ ```
20
+
@@ -1,4 +1,4 @@
1
- # Zernio::AttachCampaignAssetsRequestSitelinksInner
1
+ # Zernio::GoogleSitelink
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@
14
14
  ```ruby
15
15
  require 'zernio-sdk'
16
16
 
17
- instance = Zernio::AttachCampaignAssetsRequestSitelinksInner.new(
17
+ instance = Zernio::GoogleSitelink.new(
18
18
  text: null,
19
19
  link_url: null,
20
20
  description1: null,
@@ -1,4 +1,4 @@
1
- # Zernio::AttachCampaignAssetsRequestStructuredSnippetsInner
1
+ # Zernio::GoogleStructuredSnippet
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'zernio-sdk'
14
14
 
15
- instance = Zernio::AttachCampaignAssetsRequestStructuredSnippetsInner.new(
15
+ instance = Zernio::GoogleStructuredSnippet.new(
16
16
  header: null,
17
17
  values: null
18
18
  )
@@ -6,8 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **customer_id** | **String** | | [optional] |
8
8
  | **callouts** | [**Array&lt;ListAccountCallouts200ResponseCalloutsInner&gt;**](ListAccountCallouts200ResponseCalloutsInner.md) | | [optional] |
9
- | **cached_at** | **Time** | When this list was fetched from Google. Null when it was never served from cache. | [optional] |
10
- | **stale** | **Boolean** | True when Google&#39;s daily API quota was exhausted and this is the last successful fetch, not a live read. | [optional] |
9
+ | **cached_at** | **Time** | Time of the cached Google read. Null when no cache was used. | [optional] |
10
+ | **stale** | **Boolean** | True when exhausted quota required returning the last successful read. | [optional] |
11
11
 
12
12
  ## Example
13
13
 
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **asset_id** | **String** | | [optional] |
8
+ | **status** | **String** | | [optional] |
8
9
  | **text** | **String** | | [optional] |
9
- | **status** | **String** | customer_asset.status, e.g. ENABLED, REMOVED, PAUSED. | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -15,8 +15,8 @@ require 'zernio-sdk'
15
15
 
16
16
  instance = Zernio::ListAccountCallouts200ResponseCalloutsInner.new(
17
17
  asset_id: null,
18
- text: null,
19
- status: null
18
+ status: null,
19
+ text: null
20
20
  )
21
21
  ```
22
22
 
@@ -0,0 +1,24 @@
1
+ # Zernio::ListAccountSitelinks200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | | [optional] |
8
+ | **sitelinks** | [**Array&lt;ListAccountSitelinks200ResponseSitelinksInner&gt;**](ListAccountSitelinks200ResponseSitelinksInner.md) | | [optional] |
9
+ | **cached_at** | **Time** | Time of the cached Google read. Null when no cache was used. | [optional] |
10
+ | **stale** | **Boolean** | True when exhausted quota required returning the last successful read. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::ListAccountSitelinks200Response.new(
18
+ customer_id: null,
19
+ sitelinks: null,
20
+ cached_at: null,
21
+ stale: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,32 @@
1
+ # Zernio::ListAccountSitelinks200ResponseSitelinksInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_id** | **String** | | [optional] |
8
+ | **status** | **String** | | [optional] |
9
+ | **asset_resource_name** | **String** | | [optional] |
10
+ | **customer_asset_resource_name** | **String** | | [optional] |
11
+ | **text** | **String** | | [optional] |
12
+ | **link_url** | **String** | | [optional] |
13
+ | **description1** | **String** | | [optional] |
14
+ | **description2** | **String** | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'zernio-sdk'
20
+
21
+ instance = Zernio::ListAccountSitelinks200ResponseSitelinksInner.new(
22
+ asset_id: null,
23
+ status: null,
24
+ asset_resource_name: null,
25
+ customer_asset_resource_name: null,
26
+ text: null,
27
+ link_url: null,
28
+ description1: null,
29
+ description2: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,24 @@
1
+ # Zernio::ListAccountStructuredSnippets200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | | [optional] |
8
+ | **structured_snippets** | [**Array&lt;ListAccountStructuredSnippets200ResponseStructuredSnippetsInner&gt;**](ListAccountStructuredSnippets200ResponseStructuredSnippetsInner.md) | | [optional] |
9
+ | **cached_at** | **Time** | Time of the cached Google read. Null when no cache was used. | [optional] |
10
+ | **stale** | **Boolean** | True when exhausted quota required returning the last successful read. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::ListAccountStructuredSnippets200Response.new(
18
+ customer_id: null,
19
+ structured_snippets: null,
20
+ cached_at: null,
21
+ stale: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,28 @@
1
+ # Zernio::ListAccountStructuredSnippets200ResponseStructuredSnippetsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_id** | **String** | | [optional] |
8
+ | **status** | **String** | | [optional] |
9
+ | **asset_resource_name** | **String** | | [optional] |
10
+ | **customer_asset_resource_name** | **String** | | [optional] |
11
+ | **header** | **String** | | [optional] |
12
+ | **values** | **Array&lt;String&gt;** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'zernio-sdk'
18
+
19
+ instance = Zernio::ListAccountStructuredSnippets200ResponseStructuredSnippetsInner.new(
20
+ asset_id: null,
21
+ status: null,
22
+ asset_resource_name: null,
23
+ customer_asset_resource_name: null,
24
+ header: null,
25
+ values: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,28 @@
1
+ # Zernio::ListAdGroupAssets200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ad_group_id** | **String** | | [optional] |
8
+ | **sitelinks** | [**Array&lt;ListAdGroupAssets200ResponseSitelinksInner&gt;**](ListAdGroupAssets200ResponseSitelinksInner.md) | | [optional] |
9
+ | **callouts** | [**Array&lt;ListAdGroupAssets200ResponseCalloutsInner&gt;**](ListAdGroupAssets200ResponseCalloutsInner.md) | | [optional] |
10
+ | **structured_snippets** | [**Array&lt;ListAdGroupAssets200ResponseStructuredSnippetsInner&gt;**](ListAdGroupAssets200ResponseStructuredSnippetsInner.md) | | [optional] |
11
+ | **cached_at** | **Time** | Time of the cached Google read. Null when no cache was used. | [optional] |
12
+ | **stale** | **Boolean** | True when exhausted quota required returning the last successful read. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'zernio-sdk'
18
+
19
+ instance = Zernio::ListAdGroupAssets200Response.new(
20
+ ad_group_id: null,
21
+ sitelinks: null,
22
+ callouts: null,
23
+ structured_snippets: null,
24
+ cached_at: null,
25
+ stale: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,22 @@
1
+ # Zernio::ListAdGroupAssets200ResponseCalloutsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_resource_name** | **String** | | [optional] |
8
+ | **ad_group_asset_resource_name** | **String** | | [optional] |
9
+ | **callout_text** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::ListAdGroupAssets200ResponseCalloutsInner.new(
17
+ asset_resource_name: null,
18
+ ad_group_asset_resource_name: null,
19
+ callout_text: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,28 @@
1
+ # Zernio::ListAdGroupAssets200ResponseSitelinksInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_resource_name** | **String** | | [optional] |
8
+ | **ad_group_asset_resource_name** | **String** | | [optional] |
9
+ | **text** | **String** | | [optional] |
10
+ | **link_url** | **String** | | [optional] |
11
+ | **description1** | **String** | | [optional] |
12
+ | **description2** | **String** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'zernio-sdk'
18
+
19
+ instance = Zernio::ListAdGroupAssets200ResponseSitelinksInner.new(
20
+ asset_resource_name: null,
21
+ ad_group_asset_resource_name: null,
22
+ text: null,
23
+ link_url: null,
24
+ description1: null,
25
+ description2: null
26
+ )
27
+ ```
28
+