diff --git a/clients/google-api-services-searchads360/v0/2.0.0/README.md b/clients/google-api-services-searchads360/v0/2.0.0/README.md index 0b0d1abcdf8..5c5eae09d3d 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/README.md +++ b/clients/google-api-services-searchads360/v0/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-searchads360 - v0-rev20260413-2.0.0 + v0-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-searchads360:v0-rev20260413-2.0.0' + implementation 'com.google.apis:google-api-services-searchads360:v0-rev20260729-2.0.0' } ``` diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonMetrics.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonMetrics.java index 4786668f75f..914e177832f 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonMetrics.java +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonMetrics.java @@ -49,8 +49,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The total number of conversions. This includes all conversions regardless of the value of * include_in_conversions_metric. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * column means the conversion date. Details for the `by_conversion_date` columns are available at + * [About the "All conversions" column](https://support.google.com/sa360/answer/9250611). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -137,8 +137,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The value of all conversions. When this column is selected with date, the values in date column - * means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * means the conversion date. Details for the `by_conversion_date` columns are available at [About + * the "All conversions" column](https://support.google.com/sa360/answer/9250611). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -174,9 +174,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The total cost of all clicks divided by the total number of clicks received. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -184,8 +184,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * the customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -228,8 +229,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The number of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -237,8 +238,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The value of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -256,8 +257,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -275,8 +276,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions * with cart data. This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -293,8 +295,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. * The cross-sell revenue of this order is $20. This metric is only available if you report * conversions with cart data. This metric is a monetary value and returned in the customer's - * currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -327,8 +330,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold * for this order is $3. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -345,9 +348,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. * This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -364,8 +367,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this * order is $10. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -440,8 +443,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The sum of conversions by conversion date for biddable conversion types. Can be fractional due - * to attribution modeling. When this column is selected with date, the values in date column - * means the conversion date. + * to attribution modeling. When this column is selected with date, the values in the date column + * mean the conversion date. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -457,8 +460,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The value of conversions from interactions divided by the number of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute is set to true. If - * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * includes conversion actions which `include_in_conversions_metric` attribute is set to `true`. + * If you use conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -490,8 +493,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this * period. This metric is a monetary value and returned in the customer's currency by default. See - * the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * the `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause) for more details. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -527,7 +530,7 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The cost of ad interactions divided by current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion actions which `include_in_conversions_metric` attribute is set to `true`. If you use * conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @@ -536,15 +539,16 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * Conversions from when a customer clicks on an ad on one device, then converts on a different - * device or browser. Cross-device conversions are already included in all_conversions. + * device or browser. Cross-device conversions are already included in `all_conversions`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double crossDeviceConversions; /** - * The number of cross-device conversions by conversion date. Details for the by_conversion_date - * columns are available at https://support.google.com/sa360/answer/9250611. + * The number of cross-device conversions by conversion date. Details for the `by_conversion_date` + * columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -559,7 +563,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The sum of cross-device conversions value by conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -577,8 +582,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -596,8 +601,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 * = $20 - $5. This metric is only available if you report conversions with cart data. This metric * is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -614,8 +619,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue * of this order is $20. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -649,8 +654,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers * illegitimate that are detected through routine means of filtration (that is, known invalid * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not - * charged for them, and they don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * charged for them, and they don't affect your account statistics. See [Filtering invalid traffic + * to ensure quality](https://support.google.com/campaignmanager/answer/6076504). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -660,8 +665,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * Number of general invalid clicks. These are a subset of your invalid clicks that are detected * through routine means of filtration (such as known invalid data-center traffic, bots and * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they - * don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * don't affect your account statistics. See [Filtering invalid traffic to ensure + * quality](https://support.google.com/campaignmanager/answer/6076504). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -781,9 +786,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order * is $3. This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -800,8 +805,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if * you report conversions with cart data. This metric is a monetary value and returned in the - * customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -817,8 +823,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This * metric is only available if you report conversions with cart data. This metric is a monetary - * value and returned in the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * value and returned in the customer's currency by default. See the `metrics_currency` parameter + * at [PARAMETERS clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -881,8 +888,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The percentage of the customer's Shopping or Search ad impressions that are shown in the most - * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. - * Any value below 0.1 is reported as 0.0999. + * prominent Shopping position. See [About top and absolute top + * metrics](https://support.google.com/sa360/answer/9566729) for details. Any value below 0.1 is + * reported as 0.0999. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -907,9 +915,9 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c private java.lang.Double searchBudgetLostImpressionShare; /** - * The number estimating how often your ad didn't show adjacent to the top organic search results - * due to a low budget. Note: Search budget lost top impression share is reported in the range of - * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The estimated percent of times that your ad didn't show adjacent to the top organic search + * results due to a low budget. Note: Search budget lost top impression share is reported in the + * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -1020,7 +1028,8 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c /** * The value of all conversions divided by the number of all conversions. When this column is * selected with date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -1093,8 +1102,8 @@ public GoogleAdsSearchads360V0CommonMetrics setAllConversions(java.lang.Double a /** * The total number of conversions. This includes all conversions regardless of the value of * include_in_conversions_metric. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * column means the conversion date. Details for the `by_conversion_date` columns are available at + * [About the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @return value or {@code null} for none */ public java.lang.Double getAllConversionsByConversionDate() { @@ -1104,8 +1113,8 @@ public java.lang.Double getAllConversionsByConversionDate() { /** * The total number of conversions. This includes all conversions regardless of the value of * include_in_conversions_metric. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * column means the conversion date. Details for the `by_conversion_date` columns are available at + * [About the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @param allConversionsByConversionDate allConversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setAllConversionsByConversionDate(java.lang.Double allConversionsByConversionDate) { @@ -1303,8 +1312,8 @@ public GoogleAdsSearchads360V0CommonMetrics setAllConversionsValue(java.lang.Dou /** * The value of all conversions. When this column is selected with date, the values in date column - * means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * means the conversion date. Details for the `by_conversion_date` columns are available at [About + * the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @return value or {@code null} for none */ public java.lang.Double getAllConversionsValueByConversionDate() { @@ -1313,8 +1322,8 @@ public java.lang.Double getAllConversionsValueByConversionDate() { /** * The value of all conversions. When this column is selected with date, the values in date column - * means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * means the conversion date. Details for the `by_conversion_date` columns are available at [About + * the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @param allConversionsValueByConversionDate allConversionsValueByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setAllConversionsValueByConversionDate(java.lang.Double allConversionsValueByConversionDate) { @@ -1389,9 +1398,9 @@ public GoogleAdsSearchads360V0CommonMetrics setAverageCost(java.lang.Double aver /** * The total cost of all clicks divided by the total number of clicks received. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Double getAverageCpc() { @@ -1400,9 +1409,9 @@ public java.lang.Double getAverageCpc() { /** * The total cost of all clicks divided by the total number of clicks received. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param averageCpc averageCpc or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setAverageCpc(java.lang.Double averageCpc) { @@ -1412,8 +1421,9 @@ public GoogleAdsSearchads360V0CommonMetrics setAverageCpc(java.lang.Double avera /** * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * the customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Double getAverageCpm() { @@ -1422,8 +1432,9 @@ public java.lang.Double getAverageCpm() { /** * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * the customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param averageCpm averageCpm or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setAverageCpm(java.lang.Double averageCpm) { @@ -1515,8 +1526,8 @@ public GoogleAdsSearchads360V0CommonMetrics setClicks(java.lang.Long clicks) { /** * The number of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ public java.lang.Double getClientAccountConversions() { @@ -1525,8 +1536,8 @@ public java.lang.Double getClientAccountConversions() { /** * The number of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @param clientAccountConversions clientAccountConversions or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountConversions(java.lang.Double clientAccountConversions) { @@ -1536,8 +1547,8 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountConversions(java.lan /** * The value of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ public java.lang.Double getClientAccountConversionsValue() { @@ -1546,8 +1557,8 @@ public java.lang.Double getClientAccountConversionsValue() { /** * The value of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @param clientAccountConversionsValue clientAccountConversionsValue or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountConversionsValue(java.lang.Double clientAccountConversionsValue) { @@ -1567,8 +1578,8 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountConversionsValue(jav * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountCrossSellCostOfGoodsSoldMicros() { @@ -1587,8 +1598,8 @@ public java.lang.Long getClientAccountCrossSellCostOfGoodsSoldMicros() { * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountCrossSellCostOfGoodsSoldMicros clientAccountCrossSellCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountCrossSellCostOfGoodsSoldMicros(java.lang.Long clientAccountCrossSellCostOfGoodsSoldMicros) { @@ -1608,8 +1619,9 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountCrossSellCostOfGoods * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions * with cart data. This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountCrossSellGrossProfitMicros() { @@ -1628,8 +1640,9 @@ public java.lang.Long getClientAccountCrossSellGrossProfitMicros() { * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions * with cart data. This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param clientAccountCrossSellGrossProfitMicros clientAccountCrossSellGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountCrossSellGrossProfitMicros(java.lang.Long clientAccountCrossSellGrossProfitMicros) { @@ -1648,8 +1661,9 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountCrossSellGrossProfit * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. * The cross-sell revenue of this order is $20. This metric is only available if you report * conversions with cart data. This metric is a monetary value and returned in the customer's - * currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountCrossSellRevenueMicros() { @@ -1667,8 +1681,9 @@ public java.lang.Long getClientAccountCrossSellRevenueMicros() { * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. * The cross-sell revenue of this order is $20. This metric is only available if you report * conversions with cart data. This metric is a monetary value and returned in the customer's - * currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param clientAccountCrossSellRevenueMicros clientAccountCrossSellRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountCrossSellRevenueMicros(java.lang.Long clientAccountCrossSellRevenueMicros) { @@ -1722,8 +1737,8 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountCrossSellUnitsSold(j * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold * for this order is $3. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountLeadCostOfGoodsSoldMicros() { @@ -1741,8 +1756,8 @@ public java.lang.Long getClientAccountLeadCostOfGoodsSoldMicros() { * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold * for this order is $3. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountLeadCostOfGoodsSoldMicros clientAccountLeadCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountLeadCostOfGoodsSoldMicros(java.lang.Long clientAccountLeadCostOfGoodsSoldMicros) { @@ -1761,9 +1776,9 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountLeadCostOfGoodsSoldM * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. * This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountLeadGrossProfitMicros() { @@ -1781,9 +1796,9 @@ public java.lang.Long getClientAccountLeadGrossProfitMicros() { * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. * This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountLeadGrossProfitMicros clientAccountLeadGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountLeadGrossProfitMicros(java.lang.Long clientAccountLeadGrossProfitMicros) { @@ -1802,8 +1817,8 @@ public GoogleAdsSearchads360V0CommonMetrics setClientAccountLeadGrossProfitMicro * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this * order is $10. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountLeadRevenueMicros() { @@ -1821,8 +1836,8 @@ public java.lang.Long getClientAccountLeadRevenueMicros() { * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this * order is $10. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountLeadRevenueMicros clientAccountLeadRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setClientAccountLeadRevenueMicros(java.lang.Long clientAccountLeadRevenueMicros) { @@ -1987,8 +2002,8 @@ public GoogleAdsSearchads360V0CommonMetrics setConversions(java.lang.Double conv /** * The sum of conversions by conversion date for biddable conversion types. Can be fractional due - * to attribution modeling. When this column is selected with date, the values in date column - * means the conversion date. + * to attribution modeling. When this column is selected with date, the values in the date column + * mean the conversion date. * @return value or {@code null} for none */ public java.lang.Double getConversionsByConversionDate() { @@ -1997,8 +2012,8 @@ public java.lang.Double getConversionsByConversionDate() { /** * The sum of conversions by conversion date for biddable conversion types. Can be fractional due - * to attribution modeling. When this column is selected with date, the values in date column - * means the conversion date. + * to attribution modeling. When this column is selected with date, the values in the date column + * mean the conversion date. * @param conversionsByConversionDate conversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setConversionsByConversionDate(java.lang.Double conversionsByConversionDate) { @@ -2027,8 +2042,8 @@ public GoogleAdsSearchads360V0CommonMetrics setConversionsFromInteractionsRate(j /** * The value of conversions from interactions divided by the number of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute is set to true. If - * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * includes conversion actions which `include_in_conversions_metric` attribute is set to `true`. + * If you use conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ public java.lang.Double getConversionsFromInteractionsValuePerInteraction() { @@ -2037,8 +2052,8 @@ public java.lang.Double getConversionsFromInteractionsValuePerInteraction() { /** * The value of conversions from interactions divided by the number of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute is set to true. If - * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * includes conversion actions which `include_in_conversions_metric` attribute is set to `true`. + * If you use conversion-based bidding, your bid strategies will optimize for these conversions. * @param conversionsFromInteractionsValuePerInteraction conversionsFromInteractionsValuePerInteraction or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setConversionsFromInteractionsValuePerInteraction(java.lang.Double conversionsFromInteractionsValuePerInteraction) { @@ -2104,8 +2119,8 @@ public GoogleAdsSearchads360V0CommonMetrics setConversionsValuePerCost(java.lang /** * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this * period. This metric is a monetary value and returned in the customer's currency by default. See - * the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * the `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause) for more details. * @return value or {@code null} for none */ public java.lang.Long getCostMicros() { @@ -2115,8 +2130,8 @@ public java.lang.Long getCostMicros() { /** * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this * period. This metric is a monetary value and returned in the customer's currency by default. See - * the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * the `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause) for more details. * @param costMicros costMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCostMicros(java.lang.Long costMicros) { @@ -2191,7 +2206,7 @@ public GoogleAdsSearchads360V0CommonMetrics setCostPerConversion(java.lang.Doubl /** * The cost of ad interactions divided by current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion actions which `include_in_conversions_metric` attribute is set to `true`. If you use * conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ @@ -2201,7 +2216,7 @@ public java.lang.Double getCostPerCurrentModelAttributedConversion() { /** * The cost of ad interactions divided by current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion actions which `include_in_conversions_metric` attribute is set to `true`. If you use * conversion-based bidding, your bid strategies will optimize for these conversions. * @param costPerCurrentModelAttributedConversion costPerCurrentModelAttributedConversion or {@code null} for none */ @@ -2212,7 +2227,7 @@ public GoogleAdsSearchads360V0CommonMetrics setCostPerCurrentModelAttributedConv /** * Conversions from when a customer clicks on an ad on one device, then converts on a different - * device or browser. Cross-device conversions are already included in all_conversions. + * device or browser. Cross-device conversions are already included in `all_conversions`. * @return value or {@code null} for none */ public java.lang.Double getCrossDeviceConversions() { @@ -2221,7 +2236,7 @@ public java.lang.Double getCrossDeviceConversions() { /** * Conversions from when a customer clicks on an ad on one device, then converts on a different - * device or browser. Cross-device conversions are already included in all_conversions. + * device or browser. Cross-device conversions are already included in `all_conversions`. * @param crossDeviceConversions crossDeviceConversions or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCrossDeviceConversions(java.lang.Double crossDeviceConversions) { @@ -2230,8 +2245,9 @@ public GoogleAdsSearchads360V0CommonMetrics setCrossDeviceConversions(java.lang. } /** - * The number of cross-device conversions by conversion date. Details for the by_conversion_date - * columns are available at https://support.google.com/sa360/answer/9250611. + * The number of cross-device conversions by conversion date. Details for the `by_conversion_date` + * columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @return value or {@code null} for none */ public java.lang.Double getCrossDeviceConversionsByConversionDate() { @@ -2239,8 +2255,9 @@ public java.lang.Double getCrossDeviceConversionsByConversionDate() { } /** - * The number of cross-device conversions by conversion date. Details for the by_conversion_date - * columns are available at https://support.google.com/sa360/answer/9250611. + * The number of cross-device conversions by conversion date. Details for the `by_conversion_date` + * columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @param crossDeviceConversionsByConversionDate crossDeviceConversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCrossDeviceConversionsByConversionDate(java.lang.Double crossDeviceConversionsByConversionDate) { @@ -2267,7 +2284,8 @@ public GoogleAdsSearchads360V0CommonMetrics setCrossDeviceConversionsValue(java. /** * The sum of cross-device conversions value by conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @return value or {@code null} for none */ public java.lang.Double getCrossDeviceConversionsValueByConversionDate() { @@ -2276,7 +2294,8 @@ public java.lang.Double getCrossDeviceConversionsValueByConversionDate() { /** * The sum of cross-device conversions value by conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @param crossDeviceConversionsValueByConversionDate crossDeviceConversionsValueByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCrossDeviceConversionsValueByConversionDate(java.lang.Double crossDeviceConversionsValueByConversionDate) { @@ -2296,8 +2315,8 @@ public GoogleAdsSearchads360V0CommonMetrics setCrossDeviceConversionsValueByConv * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getCrossSellCostOfGoodsSoldMicros() { @@ -2316,8 +2335,8 @@ public java.lang.Long getCrossSellCostOfGoodsSoldMicros() { * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param crossSellCostOfGoodsSoldMicros crossSellCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCrossSellCostOfGoodsSoldMicros(java.lang.Long crossSellCostOfGoodsSoldMicros) { @@ -2337,8 +2356,8 @@ public GoogleAdsSearchads360V0CommonMetrics setCrossSellCostOfGoodsSoldMicros(ja * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 * = $20 - $5. This metric is only available if you report conversions with cart data. This metric * is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getCrossSellGrossProfitMicros() { @@ -2357,8 +2376,8 @@ public java.lang.Long getCrossSellGrossProfitMicros() { * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 * = $20 - $5. This metric is only available if you report conversions with cart data. This metric * is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param crossSellGrossProfitMicros crossSellGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCrossSellGrossProfitMicros(java.lang.Long crossSellGrossProfitMicros) { @@ -2377,8 +2396,8 @@ public GoogleAdsSearchads360V0CommonMetrics setCrossSellGrossProfitMicros(java.l * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue * of this order is $20. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getCrossSellRevenueMicros() { @@ -2396,8 +2415,8 @@ public java.lang.Long getCrossSellRevenueMicros() { * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue * of this order is $20. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param crossSellRevenueMicros crossSellRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setCrossSellRevenueMicros(java.lang.Long crossSellRevenueMicros) { @@ -2462,8 +2481,8 @@ public GoogleAdsSearchads360V0CommonMetrics setCtr(java.lang.Double ctr) { * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers * illegitimate that are detected through routine means of filtration (that is, known invalid * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not - * charged for them, and they don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * charged for them, and they don't affect your account statistics. See [Filtering invalid traffic + * to ensure quality](https://support.google.com/campaignmanager/answer/6076504). * @return value or {@code null} for none */ public java.lang.Double getGeneralInvalidClickRate() { @@ -2475,8 +2494,8 @@ public java.lang.Double getGeneralInvalidClickRate() { * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers * illegitimate that are detected through routine means of filtration (that is, known invalid * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not - * charged for them, and they don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * charged for them, and they don't affect your account statistics. See [Filtering invalid traffic + * to ensure quality](https://support.google.com/campaignmanager/answer/6076504). * @param generalInvalidClickRate generalInvalidClickRate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setGeneralInvalidClickRate(java.lang.Double generalInvalidClickRate) { @@ -2488,8 +2507,8 @@ public GoogleAdsSearchads360V0CommonMetrics setGeneralInvalidClickRate(java.lang * Number of general invalid clicks. These are a subset of your invalid clicks that are detected * through routine means of filtration (such as known invalid data-center traffic, bots and * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they - * don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * don't affect your account statistics. See [Filtering invalid traffic to ensure + * quality](https://support.google.com/campaignmanager/answer/6076504). * @return value or {@code null} for none */ public java.lang.Long getGeneralInvalidClicks() { @@ -2500,8 +2519,8 @@ public java.lang.Long getGeneralInvalidClicks() { * Number of general invalid clicks. These are a subset of your invalid clicks that are detected * through routine means of filtration (such as known invalid data-center traffic, bots and * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they - * don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * don't affect your account statistics. See [Filtering invalid traffic to ensure + * quality](https://support.google.com/campaignmanager/answer/6076504). * @param generalInvalidClicks generalInvalidClicks or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setGeneralInvalidClicks(java.lang.Long generalInvalidClicks) { @@ -2763,9 +2782,9 @@ public GoogleAdsSearchads360V0CommonMetrics setInvalidClicks(java.lang.Long inva * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order * is $3. This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getLeadCostOfGoodsSoldMicros() { @@ -2782,9 +2801,9 @@ public java.lang.Long getLeadCostOfGoodsSoldMicros() { * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order * is $3. This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param leadCostOfGoodsSoldMicros leadCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setLeadCostOfGoodsSoldMicros(java.lang.Long leadCostOfGoodsSoldMicros) { @@ -2803,8 +2822,9 @@ public GoogleAdsSearchads360V0CommonMetrics setLeadCostOfGoodsSoldMicros(java.la * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if * you report conversions with cart data. This metric is a monetary value and returned in the - * customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getLeadGrossProfitMicros() { @@ -2822,8 +2842,9 @@ public java.lang.Long getLeadGrossProfitMicros() { * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if * you report conversions with cart data. This metric is a monetary value and returned in the - * customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param leadGrossProfitMicros leadGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setLeadGrossProfitMicros(java.lang.Long leadGrossProfitMicros) { @@ -2841,8 +2862,9 @@ public GoogleAdsSearchads360V0CommonMetrics setLeadGrossProfitMicros(java.lang.L * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This * metric is only available if you report conversions with cart data. This metric is a monetary - * value and returned in the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * value and returned in the customer's currency by default. See the `metrics_currency` parameter + * at [PARAMETERS clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getLeadRevenueMicros() { @@ -2859,8 +2881,9 @@ public java.lang.Long getLeadRevenueMicros() { * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This * metric is only available if you report conversions with cart data. This metric is a monetary - * value and returned in the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * value and returned in the customer's currency by default. See the `metrics_currency` parameter + * at [PARAMETERS clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param leadRevenueMicros leadRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setLeadRevenueMicros(java.lang.Long leadRevenueMicros) { @@ -2995,8 +3018,9 @@ public GoogleAdsSearchads360V0CommonMetrics setRevenueMicros(java.lang.Long reve /** * The percentage of the customer's Shopping or Search ad impressions that are shown in the most - * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. - * Any value below 0.1 is reported as 0.0999. + * prominent Shopping position. See [About top and absolute top + * metrics](https://support.google.com/sa360/answer/9566729) for details. Any value below 0.1 is + * reported as 0.0999. * @return value or {@code null} for none */ public java.lang.Double getSearchAbsoluteTopImpressionShare() { @@ -3005,8 +3029,9 @@ public java.lang.Double getSearchAbsoluteTopImpressionShare() { /** * The percentage of the customer's Shopping or Search ad impressions that are shown in the most - * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. - * Any value below 0.1 is reported as 0.0999. + * prominent Shopping position. See [About top and absolute top + * metrics](https://support.google.com/sa360/answer/9566729) for details. Any value below 0.1 is + * reported as 0.0999. * @param searchAbsoluteTopImpressionShare searchAbsoluteTopImpressionShare or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setSearchAbsoluteTopImpressionShare(java.lang.Double searchAbsoluteTopImpressionShare) { @@ -3057,9 +3082,9 @@ public GoogleAdsSearchads360V0CommonMetrics setSearchBudgetLostImpressionShare(j } /** - * The number estimating how often your ad didn't show adjacent to the top organic search results - * due to a low budget. Note: Search budget lost top impression share is reported in the range of - * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The estimated percent of times that your ad didn't show adjacent to the top organic search + * results due to a low budget. Note: Search budget lost top impression share is reported in the + * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. * @return value or {@code null} for none */ public java.lang.Double getSearchBudgetLostTopImpressionShare() { @@ -3067,9 +3092,9 @@ public java.lang.Double getSearchBudgetLostTopImpressionShare() { } /** - * The number estimating how often your ad didn't show adjacent to the top organic search results - * due to a low budget. Note: Search budget lost top impression share is reported in the range of - * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The estimated percent of times that your ad didn't show adjacent to the top organic search + * results due to a low budget. Note: Search budget lost top impression share is reported in the + * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. * @param searchBudgetLostTopImpressionShare searchBudgetLostTopImpressionShare or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setSearchBudgetLostTopImpressionShare(java.lang.Double searchBudgetLostTopImpressionShare) { @@ -3317,7 +3342,8 @@ public GoogleAdsSearchads360V0CommonMetrics setValuePerAllConversions(java.lang. /** * The value of all conversions divided by the number of all conversions. When this column is * selected with date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611). * @return value or {@code null} for none */ public java.lang.Double getValuePerAllConversionsByConversionDate() { @@ -3327,7 +3353,8 @@ public java.lang.Double getValuePerAllConversionsByConversionDate() { /** * The value of all conversions divided by the number of all conversions. When this column is * selected with date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611). * @param valuePerAllConversionsByConversionDate valuePerAllConversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V0CommonMetrics setValuePerAllConversionsByConversionDate(java.lang.Double valuePerAllConversionsByConversionDate) { diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo.java index 39f7f3d325c..81bb81f59b7 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo.java +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo.java @@ -17,7 +17,8 @@ package com.google.api.services.searchads360.v0.model; /** - * A Search Ads 360 expanded text ad. + * A Search Ads 360 expanded text ad. Expanded text ads are deprecated. Use + * SearchAds360ResponsiveSearchAd instead. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSyntheticContentAttestation.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSyntheticContentAttestation.java new file mode 100644 index 00000000000..157171e9557 --- /dev/null +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSyntheticContentAttestation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v0.model; + +/** + * Represents an attestation about synthetic content from a single source. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0CommonSyntheticContentAttestation extends com.google.api.client.json.GenericJson { + + /** + * The source of the synthetic content attestation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Indicates whether the content is considered synthetic by this source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The source of the synthetic content attestation. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * The source of the synthetic content attestation. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentAttestation setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Indicates whether the content is considered synthetic by this source. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Indicates whether the content is considered synthetic by this source. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentAttestation setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V0CommonSyntheticContentAttestation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0CommonSyntheticContentAttestation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0CommonSyntheticContentAttestation clone() { + return (GoogleAdsSearchads360V0CommonSyntheticContentAttestation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSyntheticContentInfo.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSyntheticContentInfo.java new file mode 100644 index 00000000000..f2274ac48d3 --- /dev/null +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSyntheticContentInfo.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v0.model; + +/** + * Container for synthetic content attestations from different sources, such as the advertiser and + * Google systems. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V0CommonSyntheticContentInfo extends com.google.api.client.json.GenericJson { + + /** + * Input provided by the advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0CommonSyntheticContentAttestation advertiserAttestation; + + /** + * Output only. Information about synthetic content generated by Google's systems. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0CommonSyntheticContentAttestation systemAttestation; + + /** + * Input provided by the advertiser. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentAttestation getAdvertiserAttestation() { + return advertiserAttestation; + } + + /** + * Input provided by the advertiser. + * @param advertiserAttestation advertiserAttestation or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentInfo setAdvertiserAttestation(GoogleAdsSearchads360V0CommonSyntheticContentAttestation advertiserAttestation) { + this.advertiserAttestation = advertiserAttestation; + return this; + } + + /** + * Output only. Information about synthetic content generated by Google's systems. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentAttestation getSystemAttestation() { + return systemAttestation; + } + + /** + * Output only. Information about synthetic content generated by Google's systems. + * @param systemAttestation systemAttestation or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentInfo setSystemAttestation(GoogleAdsSearchads360V0CommonSyntheticContentAttestation systemAttestation) { + this.systemAttestation = systemAttestation; + return this; + } + + @Override + public GoogleAdsSearchads360V0CommonSyntheticContentInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V0CommonSyntheticContentInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V0CommonSyntheticContentInfo clone() { + return (GoogleAdsSearchads360V0CommonSyntheticContentInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAd.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAd.java index 04780295524..0dde49df8a2 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAd.java +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAd.java @@ -45,7 +45,8 @@ public final class GoogleAdsSearchads360V0ResourcesAd extends com.google.api.cli private GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo expandedDynamicSearchAd; /** - * Immutable. Details pertaining to an expanded text ad. + * Immutable. Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `SearchAds360ResponsiveSearchAd` instead. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -123,6 +124,15 @@ public final class GoogleAdsSearchads360V0ResourcesAd extends com.google.api.cli @com.google.api.client.util.Key private GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo responsiveSearchAd; + /** + * Synthetic content info for the ad. Only ads with specific ad types are eligible for updates + * using the `synthetic_content_info` field. Allowed `AdType` values: * `HTML5_UPLOAD_AD` * + * `DYNAMIC_HTML5_AD` * `IMAGE_AD` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0CommonSyntheticContentInfo syntheticContentInfo; + /** * Immutable. Details pertaining to a text ad. * The value may be {@code null}. @@ -179,7 +189,8 @@ public GoogleAdsSearchads360V0ResourcesAd setExpandedDynamicSearchAd(GoogleAdsSe } /** - * Immutable. Details pertaining to an expanded text ad. + * Immutable. Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `SearchAds360ResponsiveSearchAd` instead. * @return value or {@code null} for none */ public GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo getExpandedTextAd() { @@ -187,7 +198,8 @@ public GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo getExpandedTe } /** - * Immutable. Details pertaining to an expanded text ad. + * Immutable. Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `SearchAds360ResponsiveSearchAd` instead. * @param expandedTextAd expandedTextAd or {@code null} for none */ public GoogleAdsSearchads360V0ResourcesAd setExpandedTextAd(GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo expandedTextAd) { @@ -354,6 +366,27 @@ public GoogleAdsSearchads360V0ResourcesAd setResponsiveSearchAd(GoogleAdsSearcha return this; } + /** + * Synthetic content info for the ad. Only ads with specific ad types are eligible for updates + * using the `synthetic_content_info` field. Allowed `AdType` values: * `HTML5_UPLOAD_AD` * + * `DYNAMIC_HTML5_AD` * `IMAGE_AD` + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentInfo getSyntheticContentInfo() { + return syntheticContentInfo; + } + + /** + * Synthetic content info for the ad. Only ads with specific ad types are eligible for updates + * using the `synthetic_content_info` field. Allowed `AdType` values: * `HTML5_UPLOAD_AD` * + * `DYNAMIC_HTML5_AD` * `IMAGE_AD` + * @param syntheticContentInfo syntheticContentInfo or {@code null} for none + */ + public GoogleAdsSearchads360V0ResourcesAd setSyntheticContentInfo(GoogleAdsSearchads360V0CommonSyntheticContentInfo syntheticContentInfo) { + this.syntheticContentInfo = syntheticContentInfo; + return this; + } + /** * Immutable. Details pertaining to a text ad. * @return value or {@code null} for none diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAgeRangeView.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAgeRangeView.java index 61bdf34e369..37532938958 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAgeRangeView.java +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAgeRangeView.java @@ -17,7 +17,12 @@ package com.google.api.services.searchads360.v0.model; /** - * An age range view. + * An age range view. Represents the view of a customer's performance metrics (like impressions and + * clicks) aggregated by age range. All statistics are aggregated at the ad group level. Note: While + * you can segment metrics by age range using `age_range_view` or by gender using `gender_view`, the + * Search Ads 360 API does not support segmenting metrics by both age range and gender + * simultaneously in a single query. Analyzing performance across both dimensions combined is not + * supported in the Search Ads 360 API. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAsset.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAsset.java index 4c6787c2cd8..3914af3e87a 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAsset.java +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesAsset.java @@ -161,6 +161,15 @@ public final class GoogleAdsSearchads360V0ResourcesAsset extends com.google.api. @com.google.api.client.util.Key private java.lang.String status; + /** + * Synthetic content info for the asset. Only assets with specific asset types are eligible for + * updates using the `synthetic_content_info` field. Allowed `AssetType` values: * `IMAGE` * + * `MEDIA_BUNDLE` * `YOUTUBE_VIDEO` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V0CommonSyntheticContentInfo syntheticContentInfo; + /** * Output only. A text asset. * The value may be {@code null}. @@ -515,6 +524,27 @@ public GoogleAdsSearchads360V0ResourcesAsset setStatus(java.lang.String status) return this; } + /** + * Synthetic content info for the asset. Only assets with specific asset types are eligible for + * updates using the `synthetic_content_info` field. Allowed `AssetType` values: * `IMAGE` * + * `MEDIA_BUNDLE` * `YOUTUBE_VIDEO` + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V0CommonSyntheticContentInfo getSyntheticContentInfo() { + return syntheticContentInfo; + } + + /** + * Synthetic content info for the asset. Only assets with specific asset types are eligible for + * updates using the `synthetic_content_info` field. Allowed `AssetType` values: * `IMAGE` * + * `MEDIA_BUNDLE` * `YOUTUBE_VIDEO` + * @param syntheticContentInfo syntheticContentInfo or {@code null} for none + */ + public GoogleAdsSearchads360V0ResourcesAsset setSyntheticContentInfo(GoogleAdsSearchads360V0CommonSyntheticContentInfo syntheticContentInfo) { + this.syntheticContentInfo = syntheticContentInfo; + return this; + } + /** * Output only. A text asset. * @return value or {@code null} for none diff --git a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesGenderView.java b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesGenderView.java index e6cd108d720..76028aed893 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesGenderView.java +++ b/clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0ResourcesGenderView.java @@ -17,9 +17,11 @@ package com.google.api.services.searchads360.v0.model; /** - * A gender view. The gender_view resource reflects the effective serving state, rather than what - * criteria were added. An ad group without gender criteria by default shows to all genders, so all - * genders appear in gender_view with stats. + * A gender view resource. Represents the view of a customer's performance metrics aggregated by + * gender. All statistics are aggregated at the ad group level. Note: While you can segment metrics + * by age range using `age_range_view` or by gender using `gender_view`, the Search Ads 360 API does + * not support segmenting metrics by both age range and gender simultaneously in a single query. + * Analyzing performance across both dimensions combined is not supported in the Search Ads 360 API. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v0/2.0.0/pom.xml b/clients/google-api-services-searchads360/v0/2.0.0/pom.xml index 073267e5db8..d9e58fd5c08 100644 --- a/clients/google-api-services-searchads360/v0/2.0.0/pom.xml +++ b/clients/google-api-services-searchads360/v0/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-searchads360 - v0-rev20260413-2.0.0 - Search Ads 360 Reporting API v0-rev20260413-2.0.0 + v0-rev20260729-2.0.0 + Search Ads 360 Reporting API v0-rev20260729-2.0.0 jar 2011 diff --git a/clients/google-api-services-searchads360/v0/README.md b/clients/google-api-services-searchads360/v0/README.md index 0b0d1abcdf8..5c5eae09d3d 100644 --- a/clients/google-api-services-searchads360/v0/README.md +++ b/clients/google-api-services-searchads360/v0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-searchads360 - v0-rev20260413-2.0.0 + v0-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-searchads360:v0-rev20260413-2.0.0' + implementation 'com.google.apis:google-api-services-searchads360:v0-rev20260729-2.0.0' } ``` diff --git a/clients/google-api-services-searchads360/v23/2.0.0/README.md b/clients/google-api-services-searchads360/v23/2.0.0/README.md index 96435150cee..e2963c682f7 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/README.md +++ b/clients/google-api-services-searchads360/v23/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-searchads360 - v23-rev20260413-2.0.0 + v23-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-searchads360:v23-rev20260413-2.0.0' + implementation 'com.google.apis:google-api-services-searchads360:v23-rev20260729-2.0.0' } ``` diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java index ec7b59809d0..9e19dd83391 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/SA360.java @@ -3403,6 +3403,414 @@ public SuggestTravelAssets set(String parameterName, Object value) { return (SuggestTravelAssets) super.set(parameterName, value); } } + /** + * Processes the given call conversions. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [PartialFailureError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.uploadCallConversions". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link UploadCallConversions#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest} + * @return the request + */ + public UploadCallConversions uploadCallConversions(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest content) throws java.io.IOException { + UploadCallConversions result = new UploadCallConversions(customerId, content); + initialize(result); + return result; + } + + public class UploadCallConversions extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:uploadCallConversions"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Processes the given call conversions. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [PartialFailureError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.uploadCallConversions". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link UploadCallConversions#execute()} method to invoke the + * remote operation.

{@link UploadCallConversions#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest} + * @since 1.13 + */ + protected UploadCallConversions(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public UploadCallConversions set$Xgafv(java.lang.String $Xgafv) { + return (UploadCallConversions) super.set$Xgafv($Xgafv); + } + + @Override + public UploadCallConversions setAccessToken(java.lang.String accessToken) { + return (UploadCallConversions) super.setAccessToken(accessToken); + } + + @Override + public UploadCallConversions setAlt(java.lang.String alt) { + return (UploadCallConversions) super.setAlt(alt); + } + + @Override + public UploadCallConversions setCallback(java.lang.String callback) { + return (UploadCallConversions) super.setCallback(callback); + } + + @Override + public UploadCallConversions setFields(java.lang.String fields) { + return (UploadCallConversions) super.setFields(fields); + } + + @Override + public UploadCallConversions setKey(java.lang.String key) { + return (UploadCallConversions) super.setKey(key); + } + + @Override + public UploadCallConversions setOauthToken(java.lang.String oauthToken) { + return (UploadCallConversions) super.setOauthToken(oauthToken); + } + + @Override + public UploadCallConversions setPrettyPrint(java.lang.Boolean prettyPrint) { + return (UploadCallConversions) super.setPrettyPrint(prettyPrint); + } + + @Override + public UploadCallConversions setQuotaUser(java.lang.String quotaUser) { + return (UploadCallConversions) super.setQuotaUser(quotaUser); + } + + @Override + public UploadCallConversions setUploadType(java.lang.String uploadType) { + return (UploadCallConversions) super.setUploadType(uploadType); + } + + @Override + public UploadCallConversions setUploadProtocol(java.lang.String uploadProtocol) { + return (UploadCallConversions) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer performing the upload. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer performing the upload. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer performing the upload. */ + public UploadCallConversions setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public UploadCallConversions set(String parameterName, Object value) { + return (UploadCallConversions) super.set(parameterName, value); + } + } + /** + * Processes the given click conversions. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [ConversionUploadError]() [HeaderError]() [InternalError]() + * [PartialFailureError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.uploadClickConversions". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link UploadClickConversions#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest} + * @return the request + */ + public UploadClickConversions uploadClickConversions(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest content) throws java.io.IOException { + UploadClickConversions result = new UploadClickConversions(customerId, content); + initialize(result); + return result; + } + + public class UploadClickConversions extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:uploadClickConversions"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Processes the given click conversions. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [ConversionUploadError]() [HeaderError]() [InternalError]() + * [PartialFailureError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "customers.uploadClickConversions". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link UploadClickConversions#execute()} method to invoke the + * remote operation.

{@link UploadClickConversions#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest} + * @since 1.13 + */ + protected UploadClickConversions(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public UploadClickConversions set$Xgafv(java.lang.String $Xgafv) { + return (UploadClickConversions) super.set$Xgafv($Xgafv); + } + + @Override + public UploadClickConversions setAccessToken(java.lang.String accessToken) { + return (UploadClickConversions) super.setAccessToken(accessToken); + } + + @Override + public UploadClickConversions setAlt(java.lang.String alt) { + return (UploadClickConversions) super.setAlt(alt); + } + + @Override + public UploadClickConversions setCallback(java.lang.String callback) { + return (UploadClickConversions) super.setCallback(callback); + } + + @Override + public UploadClickConversions setFields(java.lang.String fields) { + return (UploadClickConversions) super.setFields(fields); + } + + @Override + public UploadClickConversions setKey(java.lang.String key) { + return (UploadClickConversions) super.setKey(key); + } + + @Override + public UploadClickConversions setOauthToken(java.lang.String oauthToken) { + return (UploadClickConversions) super.setOauthToken(oauthToken); + } + + @Override + public UploadClickConversions setPrettyPrint(java.lang.Boolean prettyPrint) { + return (UploadClickConversions) super.setPrettyPrint(prettyPrint); + } + + @Override + public UploadClickConversions setQuotaUser(java.lang.String quotaUser) { + return (UploadClickConversions) super.setQuotaUser(quotaUser); + } + + @Override + public UploadClickConversions setUploadType(java.lang.String uploadType) { + return (UploadClickConversions) super.setUploadType(uploadType); + } + + @Override + public UploadClickConversions setUploadProtocol(java.lang.String uploadProtocol) { + return (UploadClickConversions) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer performing the upload. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer performing the upload. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer performing the upload. */ + public UploadClickConversions setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public UploadClickConversions set(String parameterName, Object value) { + return (UploadClickConversions) super.set(parameterName, value); + } + } + /** + * Processes the given conversion adjustments. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [PartialFailureError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.uploadConversionAdjustments". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link UploadConversionAdjustments#execute()} method to invoke the remote + * operation. + * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest} + * @return the request + */ + public UploadConversionAdjustments uploadConversionAdjustments(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest content) throws java.io.IOException { + UploadConversionAdjustments result = new UploadConversionAdjustments(customerId, content); + initialize(result); + return result; + } + + public class UploadConversionAdjustments extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}:uploadConversionAdjustments"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Processes the given conversion adjustments. List of thrown errors: [AuthenticationError]() + * [AuthorizationError]() [HeaderError]() [InternalError]() [PartialFailureError]() [QuotaError]() + * [RequestError]() + * + * Create a request for the method "customers.uploadConversionAdjustments". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link UploadConversionAdjustments#execute()} method to invoke + * the remote operation.

{@link UploadConversionAdjustments#initialize(com.google.api.client.g + * oogleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer performing the upload. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest} + * @since 1.13 + */ + protected UploadConversionAdjustments(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public UploadConversionAdjustments set$Xgafv(java.lang.String $Xgafv) { + return (UploadConversionAdjustments) super.set$Xgafv($Xgafv); + } + + @Override + public UploadConversionAdjustments setAccessToken(java.lang.String accessToken) { + return (UploadConversionAdjustments) super.setAccessToken(accessToken); + } + + @Override + public UploadConversionAdjustments setAlt(java.lang.String alt) { + return (UploadConversionAdjustments) super.setAlt(alt); + } + + @Override + public UploadConversionAdjustments setCallback(java.lang.String callback) { + return (UploadConversionAdjustments) super.setCallback(callback); + } + + @Override + public UploadConversionAdjustments setFields(java.lang.String fields) { + return (UploadConversionAdjustments) super.setFields(fields); + } + + @Override + public UploadConversionAdjustments setKey(java.lang.String key) { + return (UploadConversionAdjustments) super.setKey(key); + } + + @Override + public UploadConversionAdjustments setOauthToken(java.lang.String oauthToken) { + return (UploadConversionAdjustments) super.setOauthToken(oauthToken); + } + + @Override + public UploadConversionAdjustments setPrettyPrint(java.lang.Boolean prettyPrint) { + return (UploadConversionAdjustments) super.setPrettyPrint(prettyPrint); + } + + @Override + public UploadConversionAdjustments setQuotaUser(java.lang.String quotaUser) { + return (UploadConversionAdjustments) super.setQuotaUser(quotaUser); + } + + @Override + public UploadConversionAdjustments setUploadType(java.lang.String uploadType) { + return (UploadConversionAdjustments) super.setUploadType(uploadType); + } + + @Override + public UploadConversionAdjustments setUploadProtocol(java.lang.String uploadProtocol) { + return (UploadConversionAdjustments) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer performing the upload. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer performing the upload. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer performing the upload. */ + public UploadConversionAdjustments setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public UploadConversionAdjustments set(String parameterName, Object value) { + return (UploadConversionAdjustments) super.set(parameterName, value); + } + } /** * Uploads the given user data. List of thrown errors: [AuthenticationError]() * [AuthorizationError]() [CollectionSizeError]() [FieldError]() [HeaderError]() [InternalError]() @@ -20965,6 +21373,163 @@ public Search set(String parameterName, Object value) { } } + } + /** + * An accessor for creating requests from the SearchAds360Campaigns collection. + * + *

The typical use is:

+ *
+     *   {@code SA360 searchads360 = new SA360(...);}
+     *   {@code SA360.SearchAds360Campaigns.List request = searchads360.searchAds360Campaigns().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public SearchAds360Campaigns searchAds360Campaigns() { + return new SearchAds360Campaigns(); + } + + /** + * The "searchAds360Campaigns" collection of methods. + */ + public class SearchAds360Campaigns { + + /** + * Updates Search Ads 360 campaigns. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [MutateError]() + * [QuotaError]() [RequestError]() + * + * Create a request for the method "searchAds360Campaigns.mutate". + * + * This request holds the parameters needed by the searchads360 server. After setting any optional + * parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + * + * @param customerId Required. The ID of the customer whose Search Ads 360 campaigns are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest} + * @return the request + */ + public Mutate mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest content) throws java.io.IOException { + Mutate result = new Mutate(customerId, content); + initialize(result); + return result; + } + + public class Mutate extends SA360Request { + + private static final String REST_PATH = "v23/customers/{+customerId}/searchAds360Campaigns:mutate"; + + private final java.util.regex.Pattern CUSTOMER_ID_PATTERN = + java.util.regex.Pattern.compile("^[^/]+$"); + + /** + * Updates Search Ads 360 campaigns. Operation statuses are returned. List of thrown errors: + * [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() + * [MutateError]() [QuotaError]() [RequestError]() + * + * Create a request for the method "searchAds360Campaigns.mutate". + * + * This request holds the parameters needed by the the searchads360 server. After setting any + * optional parameters, call the {@link Mutate#execute()} method to invoke the remote operation. + *

{@link + * Mutate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param customerId Required. The ID of the customer whose Search Ads 360 campaigns are being modified. + * @param content the {@link com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest} + * @since 1.13 + */ + protected Mutate(java.lang.String customerId, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest content) { + super(SA360.this, "POST", REST_PATH, content, com.google.api.services.searchads360.v23.model.GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse.class); + this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + } + + @Override + public Mutate set$Xgafv(java.lang.String $Xgafv) { + return (Mutate) super.set$Xgafv($Xgafv); + } + + @Override + public Mutate setAccessToken(java.lang.String accessToken) { + return (Mutate) super.setAccessToken(accessToken); + } + + @Override + public Mutate setAlt(java.lang.String alt) { + return (Mutate) super.setAlt(alt); + } + + @Override + public Mutate setCallback(java.lang.String callback) { + return (Mutate) super.setCallback(callback); + } + + @Override + public Mutate setFields(java.lang.String fields) { + return (Mutate) super.setFields(fields); + } + + @Override + public Mutate setKey(java.lang.String key) { + return (Mutate) super.setKey(key); + } + + @Override + public Mutate setOauthToken(java.lang.String oauthToken) { + return (Mutate) super.setOauthToken(oauthToken); + } + + @Override + public Mutate setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Mutate) super.setPrettyPrint(prettyPrint); + } + + @Override + public Mutate setQuotaUser(java.lang.String quotaUser) { + return (Mutate) super.setQuotaUser(quotaUser); + } + + @Override + public Mutate setUploadType(java.lang.String uploadType) { + return (Mutate) super.setUploadType(uploadType); + } + + @Override + public Mutate setUploadProtocol(java.lang.String uploadProtocol) { + return (Mutate) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The ID of the customer whose Search Ads 360 campaigns are being modified. */ + @com.google.api.client.util.Key + private java.lang.String customerId; + + /** Required. The ID of the customer whose Search Ads 360 campaigns are being modified. + */ + public java.lang.String getCustomerId() { + return customerId; + } + + /** Required. The ID of the customer whose Search Ads 360 campaigns are being modified. */ + public Mutate setCustomerId(java.lang.String customerId) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_ID_PATTERN.matcher(customerId).matches(), + "Parameter customerId must conform to the pattern " + + "^[^/]+$"); + } + this.customerId = customerId; + return this; + } + + @Override + public Mutate set(String parameterName, Object value) { + return (Mutate) super.set(parameterName, value); + } + } + } /** * An accessor for creating requests from the SharedCriteria collection. diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java index a5012556266..8a79d873377 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonExpandedTextAdInfo.java @@ -17,7 +17,7 @@ package com.google.api.services.searchads360.v23.model; /** - * An expanded text ad. + * An expanded text ad. Expanded text ads are deprecated. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java index 2b29df630f3..671b2e0e0df 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonMetrics.java @@ -49,8 +49,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The total number of conversions. This includes all conversions regardless of the value of * include_in_conversions_metric. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * column means the conversion date. Details for the `by_conversion_date` columns are available at + * [About the "All conversions" column](https://support.google.com/sa360/answer/9250611). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -137,8 +137,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The value of all conversions. When this column is selected with date, the values in date column - * means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * means the conversion date. Details for the `by_conversion_date` columns are available at [About + * the "All conversions" column](https://support.google.com/sa360/answer/9250611). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -174,9 +174,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The total cost of all clicks divided by the total number of clicks received. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -184,8 +184,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * the customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -228,8 +229,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The number of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -237,8 +238,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The value of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -256,8 +257,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -275,8 +276,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions * with cart data. This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -293,8 +295,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. * The cross-sell revenue of this order is $20. This metric is only available if you report * conversions with cart data. This metric is a monetary value and returned in the customer's - * currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -327,8 +330,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold * for this order is $3. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -345,9 +348,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. * This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -364,8 +367,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this * order is $10. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -440,8 +443,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The sum of conversions by conversion date for biddable conversion types. Can be fractional due - * to attribution modeling. When this column is selected with date, the values in date column - * means the conversion date. + * to attribution modeling. When this column is selected with date, the values in the date column + * mean the conversion date. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -457,8 +460,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The value of conversions from interactions divided by the number of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute is set to true. If - * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * includes conversion actions which `include_in_conversions_metric` attribute is set to `true`. + * If you use conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -490,8 +493,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this * period. This metric is a monetary value and returned in the customer's currency by default. See - * the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * the `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause) for more details. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -527,7 +530,7 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The cost of ad interactions divided by current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion actions which `include_in_conversions_metric` attribute is set to `true`. If you use * conversion-based bidding, your bid strategies will optimize for these conversions. * The value may be {@code null}. */ @@ -536,15 +539,16 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * Conversions from when a customer clicks on an ad on one device, then converts on a different - * device or browser. Cross-device conversions are already included in all_conversions. + * device or browser. Cross-device conversions are already included in `all_conversions`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double crossDeviceConversions; /** - * The number of cross-device conversions by conversion date. Details for the by_conversion_date - * columns are available at https://support.google.com/sa360/answer/9250611. + * The number of cross-device conversions by conversion date. Details for the `by_conversion_date` + * columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -559,7 +563,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The sum of cross-device conversions value by conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -577,8 +582,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -596,8 +601,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 * = $20 - $5. This metric is only available if you report conversions with cart data. This metric * is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -614,8 +619,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue * of this order is $20. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -649,8 +654,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers * illegitimate that are detected through routine means of filtration (that is, known invalid * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not - * charged for them, and they don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * charged for them, and they don't affect your account statistics. See [Filtering invalid traffic + * to ensure quality](https://support.google.com/campaignmanager/answer/6076504). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -660,8 +665,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * Number of general invalid clicks. These are a subset of your invalid clicks that are detected * through routine means of filtration (such as known invalid data-center traffic, bots and * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they - * don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * don't affect your account statistics. See [Filtering invalid traffic to ensure + * quality](https://support.google.com/campaignmanager/answer/6076504). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -781,9 +786,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order * is $3. This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -800,8 +805,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if * you report conversions with cart data. This metric is a monetary value and returned in the - * customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -817,8 +823,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This * metric is only available if you report conversions with cart data. This metric is a monetary - * value and returned in the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * value and returned in the customer's currency by default. See the `metrics_currency` parameter + * at [PARAMETERS clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString @@ -881,8 +888,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The percentage of the customer's Shopping or Search ad impressions that are shown in the most - * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. - * Any value below 0.1 is reported as 0.0999. + * prominent Shopping position. See [About top and absolute top + * metrics](https://support.google.com/sa360/answer/9566729) for details. Any value below 0.1 is + * reported as 0.0999. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -907,9 +915,9 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. private java.lang.Double searchBudgetLostImpressionShare; /** - * The number estimating how often your ad didn't show adjacent to the top organic search results - * due to a low budget. Note: Search budget lost top impression share is reported in the range of - * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The estimated percent of times that your ad didn't show adjacent to the top organic search + * results due to a low budget. Note: Search budget lost top impression share is reported in the + * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -1020,7 +1028,8 @@ public final class GoogleAdsSearchads360V23CommonMetrics extends com.google.api. /** * The value of all conversions divided by the number of all conversions. When this column is * selected with date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -1093,8 +1102,8 @@ public GoogleAdsSearchads360V23CommonMetrics setAllConversions(java.lang.Double /** * The total number of conversions. This includes all conversions regardless of the value of * include_in_conversions_metric. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * column means the conversion date. Details for the `by_conversion_date` columns are available at + * [About the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @return value or {@code null} for none */ public java.lang.Double getAllConversionsByConversionDate() { @@ -1104,8 +1113,8 @@ public java.lang.Double getAllConversionsByConversionDate() { /** * The total number of conversions. This includes all conversions regardless of the value of * include_in_conversions_metric. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * column means the conversion date. Details for the `by_conversion_date` columns are available at + * [About the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @param allConversionsByConversionDate allConversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setAllConversionsByConversionDate(java.lang.Double allConversionsByConversionDate) { @@ -1303,8 +1312,8 @@ public GoogleAdsSearchads360V23CommonMetrics setAllConversionsValue(java.lang.Do /** * The value of all conversions. When this column is selected with date, the values in date column - * means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * means the conversion date. Details for the `by_conversion_date` columns are available at [About + * the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @return value or {@code null} for none */ public java.lang.Double getAllConversionsValueByConversionDate() { @@ -1313,8 +1322,8 @@ public java.lang.Double getAllConversionsValueByConversionDate() { /** * The value of all conversions. When this column is selected with date, the values in date column - * means the conversion date. Details for the by_conversion_date columns are available at - * https://support.google.com/sa360/answer/9250611. + * means the conversion date. Details for the `by_conversion_date` columns are available at [About + * the "All conversions" column](https://support.google.com/sa360/answer/9250611). * @param allConversionsValueByConversionDate allConversionsValueByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setAllConversionsValueByConversionDate(java.lang.Double allConversionsValueByConversionDate) { @@ -1389,9 +1398,9 @@ public GoogleAdsSearchads360V23CommonMetrics setAverageCost(java.lang.Double ave /** * The total cost of all clicks divided by the total number of clicks received. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Double getAverageCpc() { @@ -1400,9 +1409,9 @@ public java.lang.Double getAverageCpc() { /** * The total cost of all clicks divided by the total number of clicks received. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param averageCpc averageCpc or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setAverageCpc(java.lang.Double averageCpc) { @@ -1412,8 +1421,9 @@ public GoogleAdsSearchads360V23CommonMetrics setAverageCpc(java.lang.Double aver /** * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * the customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Double getAverageCpm() { @@ -1422,8 +1432,9 @@ public java.lang.Double getAverageCpm() { /** * Average cost-per-thousand impressions (CPM). This metric is a monetary value and returned in - * the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * the customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param averageCpm averageCpm or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setAverageCpm(java.lang.Double averageCpm) { @@ -1515,8 +1526,8 @@ public GoogleAdsSearchads360V23CommonMetrics setClicks(java.lang.Long clicks) { /** * The number of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ public java.lang.Double getClientAccountConversions() { @@ -1525,8 +1536,8 @@ public java.lang.Double getClientAccountConversions() { /** * The number of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @param clientAccountConversions clientAccountConversions or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountConversions(java.lang.Double clientAccountConversions) { @@ -1536,8 +1547,8 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountConversions(java.la /** * The value of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ public java.lang.Double getClientAccountConversionsValue() { @@ -1546,8 +1557,8 @@ public java.lang.Double getClientAccountConversionsValue() { /** * The value of client account conversions. This only includes conversion actions which - * include_in_client_account_conversions_metric attribute is set to true. If you use conversion- - * based bidding, your bid strategies will optimize for these conversions. + * `include_in_client_account_conversions_metric` attribute is set to `true`. If you use + * conversion-based bidding, your bid strategies will optimize for these conversions. * @param clientAccountConversionsValue clientAccountConversionsValue or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountConversionsValue(java.lang.Double clientAccountConversionsValue) { @@ -1567,8 +1578,8 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountConversionsValue(ja * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountCrossSellCostOfGoodsSoldMicros() { @@ -1587,8 +1598,8 @@ public java.lang.Long getClientAccountCrossSellCostOfGoodsSoldMicros() { * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountCrossSellCostOfGoodsSoldMicros clientAccountCrossSellCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellCostOfGoodsSoldMicros(java.lang.Long clientAccountCrossSellCostOfGoodsSoldMicros) { @@ -1608,8 +1619,9 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellCostOfGood * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions * with cart data. This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountCrossSellGrossProfitMicros() { @@ -1628,8 +1640,9 @@ public java.lang.Long getClientAccountCrossSellGrossProfitMicros() { * shirt. The shirt is priced $20 and has a cost of goods sold value of $5. The cross-sell gross * profit of this order is $15 = $20 - $5. This metric is only available if you report conversions * with cart data. This metric is a monetary value and returned in the customer's currency by - * default. See the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param clientAccountCrossSellGrossProfitMicros clientAccountCrossSellGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellGrossProfitMicros(java.lang.Long clientAccountCrossSellGrossProfitMicros) { @@ -1648,8 +1661,9 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellGrossProfi * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. * The cross-sell revenue of this order is $20. This metric is only available if you report * conversions with cart data. This metric is a monetary value and returned in the customer's - * currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountCrossSellRevenueMicros() { @@ -1667,8 +1681,9 @@ public java.lang.Long getClientAccountCrossSellRevenueMicros() { * a hat then bought the same hat and a shirt. The hat is priced $10 and the shirt is priced $20. * The cross-sell revenue of this order is $20. This metric is only available if you report * conversions with cart data. This metric is a monetary value and returned in the customer's - * currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param clientAccountCrossSellRevenueMicros clientAccountCrossSellRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellRevenueMicros(java.lang.Long clientAccountCrossSellRevenueMicros) { @@ -1722,8 +1737,8 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountCrossSellUnitsSold( * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold * for this order is $3. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountLeadCostOfGoodsSoldMicros() { @@ -1741,8 +1756,8 @@ public java.lang.Long getClientAccountLeadCostOfGoodsSoldMicros() { * sold value of $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold * for this order is $3. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountLeadCostOfGoodsSoldMicros clientAccountLeadCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadCostOfGoodsSoldMicros(java.lang.Long clientAccountLeadCostOfGoodsSoldMicros) { @@ -1761,9 +1776,9 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadCostOfGoodsSold * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. * This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountLeadGrossProfitMicros() { @@ -1781,9 +1796,9 @@ public java.lang.Long getClientAccountLeadGrossProfitMicros() { * clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat is priced $10 * and has a cost of goods sold value of $3. The lead gross profit of this order is $7 = $10 - $3. * This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountLeadGrossProfitMicros clientAccountLeadGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadGrossProfitMicros(java.lang.Long clientAccountLeadGrossProfitMicros) { @@ -1802,8 +1817,8 @@ public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadGrossProfitMicr * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this * order is $10. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getClientAccountLeadRevenueMicros() { @@ -1821,8 +1836,8 @@ public java.lang.Long getClientAccountLeadRevenueMicros() { * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The lead revenue of this * order is $10. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param clientAccountLeadRevenueMicros clientAccountLeadRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setClientAccountLeadRevenueMicros(java.lang.Long clientAccountLeadRevenueMicros) { @@ -1987,8 +2002,8 @@ public GoogleAdsSearchads360V23CommonMetrics setConversions(java.lang.Double con /** * The sum of conversions by conversion date for biddable conversion types. Can be fractional due - * to attribution modeling. When this column is selected with date, the values in date column - * means the conversion date. + * to attribution modeling. When this column is selected with date, the values in the date column + * mean the conversion date. * @return value or {@code null} for none */ public java.lang.Double getConversionsByConversionDate() { @@ -1997,8 +2012,8 @@ public java.lang.Double getConversionsByConversionDate() { /** * The sum of conversions by conversion date for biddable conversion types. Can be fractional due - * to attribution modeling. When this column is selected with date, the values in date column - * means the conversion date. + * to attribution modeling. When this column is selected with date, the values in the date column + * mean the conversion date. * @param conversionsByConversionDate conversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setConversionsByConversionDate(java.lang.Double conversionsByConversionDate) { @@ -2027,8 +2042,8 @@ public GoogleAdsSearchads360V23CommonMetrics setConversionsFromInteractionsRate( /** * The value of conversions from interactions divided by the number of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute is set to true. If - * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * includes conversion actions which `include_in_conversions_metric` attribute is set to `true`. + * If you use conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ public java.lang.Double getConversionsFromInteractionsValuePerInteraction() { @@ -2037,8 +2052,8 @@ public java.lang.Double getConversionsFromInteractionsValuePerInteraction() { /** * The value of conversions from interactions divided by the number of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute is set to true. If - * you use conversion-based bidding, your bid strategies will optimize for these conversions. + * includes conversion actions which `include_in_conversions_metric` attribute is set to `true`. + * If you use conversion-based bidding, your bid strategies will optimize for these conversions. * @param conversionsFromInteractionsValuePerInteraction conversionsFromInteractionsValuePerInteraction or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setConversionsFromInteractionsValuePerInteraction(java.lang.Double conversionsFromInteractionsValuePerInteraction) { @@ -2104,8 +2119,8 @@ public GoogleAdsSearchads360V23CommonMetrics setConversionsValuePerCost(java.lan /** * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this * period. This metric is a monetary value and returned in the customer's currency by default. See - * the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * the `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause) for more details. * @return value or {@code null} for none */ public java.lang.Long getCostMicros() { @@ -2115,8 +2130,8 @@ public java.lang.Long getCostMicros() { /** * The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this * period. This metric is a monetary value and returned in the customer's currency by default. See - * the metrics_currency parameter at https://developers.google.com/search- - * ads/reporting/query/query-structure#parameters_clause + * the `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause) for more details. * @param costMicros costMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCostMicros(java.lang.Long costMicros) { @@ -2191,7 +2206,7 @@ public GoogleAdsSearchads360V23CommonMetrics setCostPerConversion(java.lang.Doub /** * The cost of ad interactions divided by current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion actions which `include_in_conversions_metric` attribute is set to `true`. If you use * conversion-based bidding, your bid strategies will optimize for these conversions. * @return value or {@code null} for none */ @@ -2201,7 +2216,7 @@ public java.lang.Double getCostPerCurrentModelAttributedConversion() { /** * The cost of ad interactions divided by current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to true. If you use + * conversion actions which `include_in_conversions_metric` attribute is set to `true`. If you use * conversion-based bidding, your bid strategies will optimize for these conversions. * @param costPerCurrentModelAttributedConversion costPerCurrentModelAttributedConversion or {@code null} for none */ @@ -2212,7 +2227,7 @@ public GoogleAdsSearchads360V23CommonMetrics setCostPerCurrentModelAttributedCon /** * Conversions from when a customer clicks on an ad on one device, then converts on a different - * device or browser. Cross-device conversions are already included in all_conversions. + * device or browser. Cross-device conversions are already included in `all_conversions`. * @return value or {@code null} for none */ public java.lang.Double getCrossDeviceConversions() { @@ -2221,7 +2236,7 @@ public java.lang.Double getCrossDeviceConversions() { /** * Conversions from when a customer clicks on an ad on one device, then converts on a different - * device or browser. Cross-device conversions are already included in all_conversions. + * device or browser. Cross-device conversions are already included in `all_conversions`. * @param crossDeviceConversions crossDeviceConversions or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversions(java.lang.Double crossDeviceConversions) { @@ -2230,8 +2245,9 @@ public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversions(java.lang } /** - * The number of cross-device conversions by conversion date. Details for the by_conversion_date - * columns are available at https://support.google.com/sa360/answer/9250611. + * The number of cross-device conversions by conversion date. Details for the `by_conversion_date` + * columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @return value or {@code null} for none */ public java.lang.Double getCrossDeviceConversionsByConversionDate() { @@ -2239,8 +2255,9 @@ public java.lang.Double getCrossDeviceConversionsByConversionDate() { } /** - * The number of cross-device conversions by conversion date. Details for the by_conversion_date - * columns are available at https://support.google.com/sa360/answer/9250611. + * The number of cross-device conversions by conversion date. Details for the `by_conversion_date` + * columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @param crossDeviceConversionsByConversionDate crossDeviceConversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsByConversionDate(java.lang.Double crossDeviceConversionsByConversionDate) { @@ -2267,7 +2284,8 @@ public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsValue(java /** * The sum of cross-device conversions value by conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @return value or {@code null} for none */ public java.lang.Double getCrossDeviceConversionsValueByConversionDate() { @@ -2276,7 +2294,8 @@ public java.lang.Double getCrossDeviceConversionsValueByConversionDate() { /** * The sum of cross-device conversions value by conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611) * @param crossDeviceConversionsValueByConversionDate crossDeviceConversionsValueByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsValueByConversionDate(java.lang.Double crossDeviceConversionsValueByConversionDate) { @@ -2296,8 +2315,8 @@ public GoogleAdsSearchads360V23CommonMetrics setCrossDeviceConversionsValueByCon * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getCrossSellCostOfGoodsSoldMicros() { @@ -2316,8 +2335,8 @@ public java.lang.Long getCrossSellCostOfGoodsSoldMicros() { * $3, the shirt has a cost of goods sold value of $5. The cross-sell cost of goods sold for this * order is $5. This metric is only available if you report conversions with cart data. This * metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param crossSellCostOfGoodsSoldMicros crossSellCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCrossSellCostOfGoodsSoldMicros(java.lang.Long crossSellCostOfGoodsSoldMicros) { @@ -2337,8 +2356,8 @@ public GoogleAdsSearchads360V23CommonMetrics setCrossSellCostOfGoodsSoldMicros(j * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 * = $20 - $5. This metric is only available if you report conversions with cart data. This metric * is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getCrossSellGrossProfitMicros() { @@ -2357,8 +2376,8 @@ public java.lang.Long getCrossSellGrossProfitMicros() { * $20 and has a cost of goods sold value of $5. The cross-sell gross profit of this order is $15 * = $20 - $5. This metric is only available if you report conversions with cart data. This metric * is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param crossSellGrossProfitMicros crossSellGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCrossSellGrossProfitMicros(java.lang.Long crossSellGrossProfitMicros) { @@ -2377,8 +2396,8 @@ public GoogleAdsSearchads360V23CommonMetrics setCrossSellGrossProfitMicros(java. * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue * of this order is $20. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getCrossSellRevenueMicros() { @@ -2396,8 +2415,8 @@ public java.lang.Long getCrossSellRevenueMicros() { * same hat and a shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell revenue * of this order is $20. This metric is only available if you report conversions with cart data. * This metric is a monetary value and returned in the customer's currency by default. See the - * metrics_currency parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * `metrics_currency` parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param crossSellRevenueMicros crossSellRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setCrossSellRevenueMicros(java.lang.Long crossSellRevenueMicros) { @@ -2462,8 +2481,8 @@ public GoogleAdsSearchads360V23CommonMetrics setCtr(java.lang.Double ctr) { * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers * illegitimate that are detected through routine means of filtration (that is, known invalid * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not - * charged for them, and they don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * charged for them, and they don't affect your account statistics. See [Filtering invalid traffic + * to ensure quality](https://support.google.com/campaignmanager/answer/6076504). * @return value or {@code null} for none */ public java.lang.Double getGeneralInvalidClickRate() { @@ -2475,8 +2494,8 @@ public java.lang.Double getGeneralInvalidClickRate() { * non-filtered clicks) due to being general invalid clicks. These are clicks Google considers * illegitimate that are detected through routine means of filtration (that is, known invalid * data-center traffic, bots and spiders or other crawlers, irregular patterns, etc). You're not - * charged for them, and they don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * charged for them, and they don't affect your account statistics. See [Filtering invalid traffic + * to ensure quality](https://support.google.com/campaignmanager/answer/6076504). * @param generalInvalidClickRate generalInvalidClickRate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setGeneralInvalidClickRate(java.lang.Double generalInvalidClickRate) { @@ -2488,8 +2507,8 @@ public GoogleAdsSearchads360V23CommonMetrics setGeneralInvalidClickRate(java.lan * Number of general invalid clicks. These are a subset of your invalid clicks that are detected * through routine means of filtration (such as known invalid data-center traffic, bots and * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they - * don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * don't affect your account statistics. See [Filtering invalid traffic to ensure + * quality](https://support.google.com/campaignmanager/answer/6076504). * @return value or {@code null} for none */ public java.lang.Long getGeneralInvalidClicks() { @@ -2500,8 +2519,8 @@ public java.lang.Long getGeneralInvalidClicks() { * Number of general invalid clicks. These are a subset of your invalid clicks that are detected * through routine means of filtration (such as known invalid data-center traffic, bots and * spiders or other crawlers, irregular patterns, etc.). You're not charged for them, and they - * don't affect your account statistics. See the help page at - * https://support.google.com/campaignmanager/answer/6076504 for details. + * don't affect your account statistics. See [Filtering invalid traffic to ensure + * quality](https://support.google.com/campaignmanager/answer/6076504). * @param generalInvalidClicks generalInvalidClicks or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setGeneralInvalidClicks(java.lang.Long generalInvalidClicks) { @@ -2763,9 +2782,9 @@ public GoogleAdsSearchads360V23CommonMetrics setInvalidClicks(java.lang.Long inv * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order * is $3. This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getLeadCostOfGoodsSoldMicros() { @@ -2782,9 +2801,9 @@ public java.lang.Long getLeadCostOfGoodsSoldMicros() { * ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of * $3, the shirt has a cost of goods sold value of $5. The lead cost of goods sold for this order * is $3. This metric is only available if you report conversions with cart data. This metric is a - * monetary value and returned in the customer's currency by default. See the metrics_currency - * parameter at https://developers.google.com/search-ads/reporting/query/query- - * structure#parameters_clause + * monetary value and returned in the customer's currency by default. See the `metrics_currency` + * parameter at [PARAMETERS clause](https://developers.google.com/search- + * ads/reporting/query/query-structure#parameters_clause). * @param leadCostOfGoodsSoldMicros leadCostOfGoodsSoldMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setLeadCostOfGoodsSoldMicros(java.lang.Long leadCostOfGoodsSoldMicros) { @@ -2803,8 +2822,9 @@ public GoogleAdsSearchads360V23CommonMetrics setLeadCostOfGoodsSoldMicros(java.l * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if * you report conversions with cart data. This metric is a monetary value and returned in the - * customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getLeadGrossProfitMicros() { @@ -2822,8 +2842,9 @@ public java.lang.Long getLeadGrossProfitMicros() { * then bought the same hat and a shirt. The hat is priced $10 and has a cost of goods sold value * of $3. The lead gross profit of this order is $7 = $10 - $3. This metric is only available if * you report conversions with cart data. This metric is a monetary value and returned in the - * customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * customer's currency by default. See the `metrics_currency` parameter at [PARAMETERS + * clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param leadGrossProfitMicros leadGrossProfitMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setLeadGrossProfitMicros(java.lang.Long leadGrossProfitMicros) { @@ -2841,8 +2862,9 @@ public GoogleAdsSearchads360V23CommonMetrics setLeadGrossProfitMicros(java.lang. * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This * metric is only available if you report conversions with cart data. This metric is a monetary - * value and returned in the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * value and returned in the customer's currency by default. See the `metrics_currency` parameter + * at [PARAMETERS clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @return value or {@code null} for none */ public java.lang.Long getLeadRevenueMicros() { @@ -2859,8 +2881,9 @@ public java.lang.Long getLeadRevenueMicros() { * Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The * hat is priced $10 and the shirt is priced $20. The lead revenue of this order is $10. This * metric is only available if you report conversions with cart data. This metric is a monetary - * value and returned in the customer's currency by default. See the metrics_currency parameter at - * https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + * value and returned in the customer's currency by default. See the `metrics_currency` parameter + * at [PARAMETERS clause](https://developers.google.com/search-ads/reporting/query/query- + * structure#parameters_clause). * @param leadRevenueMicros leadRevenueMicros or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setLeadRevenueMicros(java.lang.Long leadRevenueMicros) { @@ -2995,8 +3018,9 @@ public GoogleAdsSearchads360V23CommonMetrics setRevenueMicros(java.lang.Long rev /** * The percentage of the customer's Shopping or Search ad impressions that are shown in the most - * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. - * Any value below 0.1 is reported as 0.0999. + * prominent Shopping position. See [About top and absolute top + * metrics](https://support.google.com/sa360/answer/9566729) for details. Any value below 0.1 is + * reported as 0.0999. * @return value or {@code null} for none */ public java.lang.Double getSearchAbsoluteTopImpressionShare() { @@ -3005,8 +3029,9 @@ public java.lang.Double getSearchAbsoluteTopImpressionShare() { /** * The percentage of the customer's Shopping or Search ad impressions that are shown in the most - * prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. - * Any value below 0.1 is reported as 0.0999. + * prominent Shopping position. See [About top and absolute top + * metrics](https://support.google.com/sa360/answer/9566729) for details. Any value below 0.1 is + * reported as 0.0999. * @param searchAbsoluteTopImpressionShare searchAbsoluteTopImpressionShare or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setSearchAbsoluteTopImpressionShare(java.lang.Double searchAbsoluteTopImpressionShare) { @@ -3057,9 +3082,9 @@ public GoogleAdsSearchads360V23CommonMetrics setSearchBudgetLostImpressionShare( } /** - * The number estimating how often your ad didn't show adjacent to the top organic search results - * due to a low budget. Note: Search budget lost top impression share is reported in the range of - * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The estimated percent of times that your ad didn't show adjacent to the top organic search + * results due to a low budget. Note: Search budget lost top impression share is reported in the + * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. * @return value or {@code null} for none */ public java.lang.Double getSearchBudgetLostTopImpressionShare() { @@ -3067,9 +3092,9 @@ public java.lang.Double getSearchBudgetLostTopImpressionShare() { } /** - * The number estimating how often your ad didn't show adjacent to the top organic search results - * due to a low budget. Note: Search budget lost top impression share is reported in the range of - * 0 to 0.9. Any value above 0.9 is reported as 0.9001. + * The estimated percent of times that your ad didn't show adjacent to the top organic search + * results due to a low budget. Note: Search budget lost top impression share is reported in the + * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. * @param searchBudgetLostTopImpressionShare searchBudgetLostTopImpressionShare or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setSearchBudgetLostTopImpressionShare(java.lang.Double searchBudgetLostTopImpressionShare) { @@ -3317,7 +3342,8 @@ public GoogleAdsSearchads360V23CommonMetrics setValuePerAllConversions(java.lang /** * The value of all conversions divided by the number of all conversions. When this column is * selected with date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611). * @return value or {@code null} for none */ public java.lang.Double getValuePerAllConversionsByConversionDate() { @@ -3327,7 +3353,8 @@ public java.lang.Double getValuePerAllConversionsByConversionDate() { /** * The value of all conversions divided by the number of all conversions. When this column is * selected with date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at https://support.google.com/sa360/answer/9250611. + * `by_conversion_date` columns are available at [About the "All conversions" + * column](https://support.google.com/sa360/answer/9250611). * @param valuePerAllConversionsByConversionDate valuePerAllConversionsByConversionDate or {@code null} for none */ public GoogleAdsSearchads360V23CommonMetrics setValuePerAllConversionsByConversionDate(java.lang.Double valuePerAllConversionsByConversionDate) { diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java index ab93a215a55..227b78b51e8 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.java @@ -17,7 +17,8 @@ package com.google.api.services.searchads360.v23.model; /** - * A Search Ads 360 expanded text ad. + * A Search Ads 360 expanded text ad. Expanded text ads are deprecated. Use + * SearchAds360ResponsiveSearchAd instead. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java index 9814c930549..24fe36f697f 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSegments.java @@ -155,6 +155,13 @@ public final class GoogleAdsSearchads360V23CommonSegments extends com.google.api @com.google.api.client.util.Key private GoogleAdsSearchads360V23CommonKeyword keyword; + /** + * Mobile device platform to which metrics apply. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mobileDevicePlatform; + /** * Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd. * The value may be {@code null}. @@ -862,6 +869,23 @@ public GoogleAdsSearchads360V23CommonSegments setKeyword(GoogleAdsSearchads360V2 return this; } + /** + * Mobile device platform to which metrics apply. + * @return value or {@code null} for none + */ + public java.lang.String getMobileDevicePlatform() { + return mobileDevicePlatform; + } + + /** + * Mobile device platform to which metrics apply. + * @param mobileDevicePlatform mobileDevicePlatform or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSegments setMobileDevicePlatform(java.lang.String mobileDevicePlatform) { + this.mobileDevicePlatform = mobileDevicePlatform; + return this; + } + /** * Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd. * @return value or {@code null} for none diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSyntheticContentAttestation.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSyntheticContentAttestation.java new file mode 100644 index 00000000000..09f9ec4622e --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSyntheticContentAttestation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Represents an attestation about synthetic content from a single source. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSyntheticContentAttestation extends com.google.api.client.json.GenericJson { + + /** + * The source of the synthetic content attestation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Indicates whether the content is considered synthetic by this source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The source of the synthetic content attestation. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * The source of the synthetic content attestation. + * @param source source or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentAttestation setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Indicates whether the content is considered synthetic by this source. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Indicates whether the content is considered synthetic by this source. + * @param status status or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentAttestation setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSyntheticContentAttestation set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSyntheticContentAttestation) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSyntheticContentAttestation clone() { + return (GoogleAdsSearchads360V23CommonSyntheticContentAttestation) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSyntheticContentInfo.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSyntheticContentInfo.java new file mode 100644 index 00000000000..6e407d0a9a8 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23CommonSyntheticContentInfo.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Container for synthetic content attestations from different sources, such as the advertiser and + * Google systems. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23CommonSyntheticContentInfo extends com.google.api.client.json.GenericJson { + + /** + * Input provided by the advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSyntheticContentAttestation advertiserAttestation; + + /** + * Output only. Information about synthetic content generated by Google's systems. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSyntheticContentAttestation systemAttestation; + + /** + * Input provided by the advertiser. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentAttestation getAdvertiserAttestation() { + return advertiserAttestation; + } + + /** + * Input provided by the advertiser. + * @param advertiserAttestation advertiserAttestation or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentInfo setAdvertiserAttestation(GoogleAdsSearchads360V23CommonSyntheticContentAttestation advertiserAttestation) { + this.advertiserAttestation = advertiserAttestation; + return this; + } + + /** + * Output only. Information about synthetic content generated by Google's systems. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentAttestation getSystemAttestation() { + return systemAttestation; + } + + /** + * Output only. Information about synthetic content generated by Google's systems. + * @param systemAttestation systemAttestation or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentInfo setSystemAttestation(GoogleAdsSearchads360V23CommonSyntheticContentAttestation systemAttestation) { + this.systemAttestation = systemAttestation; + return this; + } + + @Override + public GoogleAdsSearchads360V23CommonSyntheticContentInfo set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23CommonSyntheticContentInfo) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23CommonSyntheticContentInfo clone() { + return (GoogleAdsSearchads360V23CommonSyntheticContentInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java index 7c9535323ef..33da0c52e51 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAd.java @@ -123,7 +123,8 @@ public final class GoogleAdsSearchads360V23ResourcesAd extends com.google.api.cl private GoogleAdsSearchads360V23CommonExpandedDynamicSearchAdInfo expandedDynamicSearchAd; /** - * Details pertaining to an expanded text ad. + * Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `ResponsiveSearchAd` instead. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -251,7 +252,8 @@ public final class GoogleAdsSearchads360V23ResourcesAd extends com.google.api.cl private GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo searchAds360ExpandedDynamicSearchAd; /** - * Immutable. Details pertaining to an expanded text ad. + * Immutable. Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `SearchAds360ResponsiveSearchAd` instead. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -299,6 +301,15 @@ public final class GoogleAdsSearchads360V23ResourcesAd extends com.google.api.cl @com.google.api.client.util.Key private GoogleAdsSearchads360V23CommonSmartCampaignAdInfo smartCampaignAd; + /** + * Synthetic content info for the ad. Only ads with specific ad types are eligible for updates + * using the `synthetic_content_info` field. Allowed `AdType` values: * `HTML5_UPLOAD_AD` * + * `DYNAMIC_HTML5_AD` * `IMAGE_AD` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSyntheticContentInfo syntheticContentInfo; + /** * Output only. If this ad is system managed, then this field will indicate the source. This field * is read-only. @@ -585,7 +596,8 @@ public GoogleAdsSearchads360V23ResourcesAd setExpandedDynamicSearchAd(GoogleAdsS } /** - * Details pertaining to an expanded text ad. + * Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `ResponsiveSearchAd` instead. * @return value or {@code null} for none */ public GoogleAdsSearchads360V23CommonExpandedTextAdInfo getExpandedTextAd() { @@ -593,7 +605,8 @@ public GoogleAdsSearchads360V23CommonExpandedTextAdInfo getExpandedTextAd() { } /** - * Details pertaining to an expanded text ad. + * Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `ResponsiveSearchAd` instead. * @param expandedTextAd expandedTextAd or {@code null} for none */ public GoogleAdsSearchads360V23ResourcesAd setExpandedTextAd(GoogleAdsSearchads360V23CommonExpandedTextAdInfo expandedTextAd) { @@ -880,7 +893,8 @@ public GoogleAdsSearchads360V23ResourcesAd setSearchAds360ExpandedDynamicSearchA } /** - * Immutable. Details pertaining to an expanded text ad. + * Immutable. Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `SearchAds360ResponsiveSearchAd` instead. * @return value or {@code null} for none */ public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo getSearchAds360ExpandedTextAd() { @@ -888,7 +902,8 @@ public GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo getSearchAds } /** - * Immutable. Details pertaining to an expanded text ad. + * Immutable. Details pertaining to an expanded text ad. Expanded text ads are deprecated. Use + * `SearchAds360ResponsiveSearchAd` instead. * @param searchAds360ExpandedTextAd searchAds360ExpandedTextAd or {@code null} for none */ public GoogleAdsSearchads360V23ResourcesAd setSearchAds360ExpandedTextAd(GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo searchAds360ExpandedTextAd) { @@ -998,6 +1013,27 @@ public GoogleAdsSearchads360V23ResourcesAd setSmartCampaignAd(GoogleAdsSearchads return this; } + /** + * Synthetic content info for the ad. Only ads with specific ad types are eligible for updates + * using the `synthetic_content_info` field. Allowed `AdType` values: * `HTML5_UPLOAD_AD` * + * `DYNAMIC_HTML5_AD` * `IMAGE_AD` + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentInfo getSyntheticContentInfo() { + return syntheticContentInfo; + } + + /** + * Synthetic content info for the ad. Only ads with specific ad types are eligible for updates + * using the `synthetic_content_info` field. Allowed `AdType` values: * `HTML5_UPLOAD_AD` * + * `DYNAMIC_HTML5_AD` * `IMAGE_AD` + * @param syntheticContentInfo syntheticContentInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAd setSyntheticContentInfo(GoogleAdsSearchads360V23CommonSyntheticContentInfo syntheticContentInfo) { + this.syntheticContentInfo = syntheticContentInfo; + return this; + } + /** * Output only. If this ad is system managed, then this field will indicate the source. This field * is read-only. diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java index e7dc458b760..b2c88182c07 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAgeRangeView.java @@ -17,7 +17,12 @@ package com.google.api.services.searchads360.v23.model; /** - * An age range view. + * An age range view. Represents the view of a customer's performance metrics (like impressions and + * clicks) aggregated by age range. All statistics are aggregated at the ad group level. Note: While + * you can segment metrics by age range using `age_range_view` or by gender using `gender_view`, the + * Search Ads 360 API does not support segmenting metrics by both age range and gender + * simultaneously in a single query. Analyzing performance across both dimensions combined is not + * supported in the Search Ads 360 API. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java index 983794b649f..0f9a20eaff5 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesAsset.java @@ -357,6 +357,15 @@ public final class GoogleAdsSearchads360V23ResourcesAsset extends com.google.api @com.google.api.client.util.Key private GoogleAdsSearchads360V23CommonStructuredSnippetAsset structuredSnippetAsset; + /** + * Synthetic content info for the asset. Only assets with specific asset types are eligible for + * updates using the `synthetic_content_info` field. Allowed `AssetType` values: * `IMAGE` * + * `MEDIA_BUNDLE` * `YOUTUBE_VIDEO` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonSyntheticContentInfo syntheticContentInfo; + /** * Immutable. A text asset. * The value may be {@code null}. @@ -1187,6 +1196,27 @@ public GoogleAdsSearchads360V23ResourcesAsset setStructuredSnippetAsset(GoogleAd return this; } + /** + * Synthetic content info for the asset. Only assets with specific asset types are eligible for + * updates using the `synthetic_content_info` field. Allowed `AssetType` values: * `IMAGE` * + * `MEDIA_BUNDLE` * `YOUTUBE_VIDEO` + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonSyntheticContentInfo getSyntheticContentInfo() { + return syntheticContentInfo; + } + + /** + * Synthetic content info for the asset. Only assets with specific asset types are eligible for + * updates using the `synthetic_content_info` field. Allowed `AssetType` values: * `IMAGE` * + * `MEDIA_BUNDLE` * `YOUTUBE_VIDEO` + * @param syntheticContentInfo syntheticContentInfo or {@code null} for none + */ + public GoogleAdsSearchads360V23ResourcesAsset setSyntheticContentInfo(GoogleAdsSearchads360V23CommonSyntheticContentInfo syntheticContentInfo) { + this.syntheticContentInfo = syntheticContentInfo; + return this; + } + /** * Immutable. A text asset. * @return value or {@code null} for none diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java index dfb88b3dcf8..9e83452ec24 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesCustomerLabel.java @@ -33,15 +33,17 @@ public final class GoogleAdsSearchads360V23ResourcesCustomerLabel extends com.google.api.client.json.GenericJson { /** - * Output only. The resource name of the customer to which the label is attached. Read only. + * Output only. The resource name of the customer to which the label is attached. This field + * should not be set when creating a new `CustomerLabel`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String customer; /** - * Output only. The resource name of the label assigned to the customer. Note: the Customer ID - * portion of the label resource name is not validated when creating a new CustomerLabel. + * Output only. The resource name of the label assigned to the customer. This field should not be + * set when creating a new `CustomerLabel`. Note: the Customer ID portion of the label resource + * name is not validated when creating a new `CustomerLabel`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -56,7 +58,8 @@ public final class GoogleAdsSearchads360V23ResourcesCustomerLabel extends com.go private java.lang.String resourceName; /** - * Output only. The resource name of the customer to which the label is attached. Read only. + * Output only. The resource name of the customer to which the label is attached. This field + * should not be set when creating a new `CustomerLabel`. * @return value or {@code null} for none */ public java.lang.String getCustomer() { @@ -64,7 +67,8 @@ public java.lang.String getCustomer() { } /** - * Output only. The resource name of the customer to which the label is attached. Read only. + * Output only. The resource name of the customer to which the label is attached. This field + * should not be set when creating a new `CustomerLabel`. * @param customer customer or {@code null} for none */ public GoogleAdsSearchads360V23ResourcesCustomerLabel setCustomer(java.lang.String customer) { @@ -73,8 +77,9 @@ public GoogleAdsSearchads360V23ResourcesCustomerLabel setCustomer(java.lang.Stri } /** - * Output only. The resource name of the label assigned to the customer. Note: the Customer ID - * portion of the label resource name is not validated when creating a new CustomerLabel. + * Output only. The resource name of the label assigned to the customer. This field should not be + * set when creating a new `CustomerLabel`. Note: the Customer ID portion of the label resource + * name is not validated when creating a new `CustomerLabel`. * @return value or {@code null} for none */ public java.lang.String getLabel() { @@ -82,8 +87,9 @@ public java.lang.String getLabel() { } /** - * Output only. The resource name of the label assigned to the customer. Note: the Customer ID - * portion of the label resource name is not validated when creating a new CustomerLabel. + * Output only. The resource name of the label assigned to the customer. This field should not be + * set when creating a new `CustomerLabel`. Note: the Customer ID portion of the label resource + * name is not validated when creating a new `CustomerLabel`. * @param label label or {@code null} for none */ public GoogleAdsSearchads360V23ResourcesCustomerLabel setLabel(java.lang.String label) { diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java index 136d1960f22..2f8c0e85b44 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesDetailPlacementView.java @@ -17,11 +17,13 @@ package com.google.api.services.searchads360.v23.model; /** - * A view with metrics aggregated by ad group and URL or YouTube video. This view primarily surfaces + * A view with metrics aggregated by ad group and URL or YouTube video. Provides granular + * performance data about specific URLs, YouTube videos, and apps where your ads showed. This offers + * a more detailed breakdown compared to the group_placement_view. This view primarily surfaces * placement data from the Google Display Network. While you can select segments like * `segments.ad_network_type`, this view generally does not include placement data from other * networks, such as the Search Partners network. To understand performance on Search Partners, - * consider other reports and segmentations. + * consider other reports and segmentations. Data for low-traffic placements may be aggregated. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java index c796e943be7..1ebd51e26cf 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesExperimentArm.java @@ -32,7 +32,9 @@ public final class GoogleAdsSearchads360V23ResourcesExperimentArm extends com.google.api.client.json.GenericJson { /** - * List of asset groups in the experiment arm. + * List of asset groups in the experiment arm. The max length is one. In the Optimize Assets + * experiment construction, the control arm and treatment arm should both contain the same asset + * group ID. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -98,7 +100,9 @@ public final class GoogleAdsSearchads360V23ResourcesExperimentArm extends com.go private java.lang.Long trafficSplit; /** - * List of asset groups in the experiment arm. + * List of asset groups in the experiment arm. The max length is one. In the Optimize Assets + * experiment construction, the control arm and treatment arm should both contain the same asset + * group ID. * @return value or {@code null} for none */ public java.util.List getAssetGroups() { @@ -106,7 +110,9 @@ public java.util.List assetGroups) { diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java index 3e5851b62bb..fc387808a09 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGenderView.java @@ -17,9 +17,11 @@ package com.google.api.services.searchads360.v23.model; /** - * A gender view. The gender_view resource reflects the effective serving state, rather than what - * criteria were added. An ad group without gender criteria by default shows to all genders, so all - * genders appear in gender_view with stats. + * A gender view resource. Represents the view of a customer's performance metrics aggregated by + * gender. All statistics are aggregated at the ad group level. Note: While you can segment metrics + * by age range using `age_range_view` or by gender using `gender_view`, the Search Ads 360 API does + * not support segmenting metrics by both age range and gender simultaneously in a single query. + * Analyzing performance across both dimensions combined is not supported in the Search Ads 360 API. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java index e03d5cb8488..adaae760592 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesGroupPlacementView.java @@ -17,7 +17,10 @@ package com.google.api.services.searchads360.v23.model; /** - * A group placement view. + * A view showing performance data for where your ads actually served on the Display Network and + * YouTube, including both targeted (managed) and automatic placements. Data for low-traffic + * placements may be aggregated. The scope of placements shown is influenced by the ad group's + * `TargetingSetting` for the `PLACEMENT` dimension. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java index c57e5f486b6..9a464cf97ec 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesManagedPlacementView.java @@ -17,7 +17,7 @@ package com.google.api.services.searchads360.v23.model; /** - * A managed placement view. + * A view providing performance data for placements explicitly targeted in your ad groups. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java index 25d88ede84f..565ef6ce085 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ResourcesTopicConstant.java @@ -42,7 +42,7 @@ public final class GoogleAdsSearchads360V23ResourcesTopicConstant extends com.go * Output only. The category to target or exclude. Each subsequent element in the array describes * a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals + * https://developers.google.com/google-ads/api/data/topics * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -84,7 +84,7 @@ public GoogleAdsSearchads360V23ResourcesTopicConstant setId(java.lang.Long id) { * Output only. The category to target or exclude. Each subsequent element in the array describes * a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals + * https://developers.google.com/google-ads/api/data/topics * @return value or {@code null} for none */ public java.util.List getPath() { @@ -95,7 +95,7 @@ public java.util.List getPath() { * Output only. The category to target or exclude. Each subsequent element in the array describes * a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals + * https://developers.google.com/google-ads/api/data/topics * @param path path or {@code null} for none */ public GoogleAdsSearchads360V23ResourcesTopicConstant setPath(java.util.List path) { diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCallConversion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCallConversion.java new file mode 100644 index 00000000000..2855c902abc --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCallConversion.java @@ -0,0 +1,256 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A call conversion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCallConversion extends com.google.api.client.json.GenericJson { + + /** + * The date time at which the call occurred. The timezone must be specified. The format is "yyyy- + * mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callStartDateTime; + + /** + * The caller id from which this call was placed. Caller id is expected to be in E.164 format with + * preceding '+' sign, for example, "+16502531234". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callerId; + + /** + * The consent setting for the event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonConsent consent; + + /** + * Resource name of the conversion action associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion action id, validation will ignore the + * customer id and use the conversion action id as the sole identifier of the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * The date time at which the conversion occurred. Must be after the call time. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionDateTime; + + /** + * The value of the conversion for the advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionValue; + + /** + * Currency associated with the conversion value. This is the ISO 4217 3-character currency code. + * For example: USD, EUR. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The custom variables associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customVariables; + + /** + * The date time at which the call occurred. The timezone must be specified. The format is "yyyy- + * mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getCallStartDateTime() { + return callStartDateTime; + } + + /** + * The date time at which the call occurred. The timezone must be specified. The format is "yyyy- + * mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + * @param callStartDateTime callStartDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setCallStartDateTime(java.lang.String callStartDateTime) { + this.callStartDateTime = callStartDateTime; + return this; + } + + /** + * The caller id from which this call was placed. Caller id is expected to be in E.164 format with + * preceding '+' sign, for example, "+16502531234". + * @return value or {@code null} for none + */ + public java.lang.String getCallerId() { + return callerId; + } + + /** + * The caller id from which this call was placed. Caller id is expected to be in E.164 format with + * preceding '+' sign, for example, "+16502531234". + * @param callerId callerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setCallerId(java.lang.String callerId) { + this.callerId = callerId; + return this; + } + + /** + * The consent setting for the event. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConsent getConsent() { + return consent; + } + + /** + * The consent setting for the event. + * @param consent consent or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setConsent(GoogleAdsSearchads360V23CommonConsent consent) { + this.consent = consent; + return this; + } + + /** + * Resource name of the conversion action associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion action id, validation will ignore the + * customer id and use the conversion action id as the sole identifier of the conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion action id, validation will ignore the + * customer id and use the conversion action id as the sole identifier of the conversion action. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * The date time at which the conversion occurred. Must be after the call time. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getConversionDateTime() { + return conversionDateTime; + } + + /** + * The date time at which the conversion occurred. Must be after the call time. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * @param conversionDateTime conversionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setConversionDateTime(java.lang.String conversionDateTime) { + this.conversionDateTime = conversionDateTime; + return this; + } + + /** + * The value of the conversion for the advertiser. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionValue() { + return conversionValue; + } + + /** + * The value of the conversion for the advertiser. + * @param conversionValue conversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setConversionValue(java.lang.Double conversionValue) { + this.conversionValue = conversionValue; + return this; + } + + /** + * Currency associated with the conversion value. This is the ISO 4217 3-character currency code. + * For example: USD, EUR. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Currency associated with the conversion value. This is the ISO 4217 3-character currency code. + * For example: USD, EUR. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The custom variables associated with this conversion. + * @return value or {@code null} for none + */ + public java.util.List getCustomVariables() { + return customVariables; + } + + /** + * The custom variables associated with this conversion. + * @param customVariables customVariables or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversion setCustomVariables(java.util.List customVariables) { + this.customVariables = customVariables; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCallConversion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCallConversion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCallConversion clone() { + return (GoogleAdsSearchads360V23ServicesCallConversion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCallConversionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCallConversionResult.java new file mode 100644 index 00000000000..051ff9ef862 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCallConversionResult.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Identifying information for a successfully processed CallConversionUpload. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCallConversionResult extends com.google.api.client.json.GenericJson { + + /** + * The date time at which the call occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for + * example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callStartDateTime; + + /** + * The caller id from which this call was placed. Caller id is expected to be in E.164 format with + * preceding '+' sign. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String callerId; + + /** + * Resource name of the conversion action associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * The date time at which the conversion occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionDateTime; + + /** + * The date time at which the call occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for + * example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getCallStartDateTime() { + return callStartDateTime; + } + + /** + * The date time at which the call occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for + * example, "2019-01-01 12:32:45-08:00". + * @param callStartDateTime callStartDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversionResult setCallStartDateTime(java.lang.String callStartDateTime) { + this.callStartDateTime = callStartDateTime; + return this; + } + + /** + * The caller id from which this call was placed. Caller id is expected to be in E.164 format with + * preceding '+' sign. + * @return value or {@code null} for none + */ + public java.lang.String getCallerId() { + return callerId; + } + + /** + * The caller id from which this call was placed. Caller id is expected to be in E.164 format with + * preceding '+' sign. + * @param callerId callerId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversionResult setCallerId(java.lang.String callerId) { + this.callerId = callerId; + return this; + } + + /** + * Resource name of the conversion action associated with this conversion. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action associated with this conversion. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversionResult setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * The date time at which the conversion occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getConversionDateTime() { + return conversionDateTime; + } + + /** + * The date time at which the conversion occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * @param conversionDateTime conversionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCallConversionResult setConversionDateTime(java.lang.String conversionDateTime) { + this.conversionDateTime = conversionDateTime; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCallConversionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCallConversionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCallConversionResult clone() { + return (GoogleAdsSearchads360V23ServicesCallConversionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCartData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCartData.java new file mode 100644 index 00000000000..e6481dc795c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCartData.java @@ -0,0 +1,172 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains additional information about cart data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCartData extends com.google.api.client.json.GenericJson { + + /** + * The country code associated with the feed where the items are uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedCountryCode; + + /** + * The language code associated with the feed where the items are uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String feedLanguageCode; + + /** + * Data of the items purchased. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List items; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCartDataItem used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCartDataItem.class); + } + + /** + * Sum of all transaction level discounts, such as free shipping and coupon discounts for the + * whole cart. The currency code is the same as that in the `ClickConversion` message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double localTransactionCost; + + /** + * The Merchant Center ID where the items are uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long merchantId; + + /** + * The country code associated with the feed where the items are uploaded. + * @return value or {@code null} for none + */ + public java.lang.String getFeedCountryCode() { + return feedCountryCode; + } + + /** + * The country code associated with the feed where the items are uploaded. + * @param feedCountryCode feedCountryCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartData setFeedCountryCode(java.lang.String feedCountryCode) { + this.feedCountryCode = feedCountryCode; + return this; + } + + /** + * The language code associated with the feed where the items are uploaded. + * @return value or {@code null} for none + */ + public java.lang.String getFeedLanguageCode() { + return feedLanguageCode; + } + + /** + * The language code associated with the feed where the items are uploaded. + * @param feedLanguageCode feedLanguageCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartData setFeedLanguageCode(java.lang.String feedLanguageCode) { + this.feedLanguageCode = feedLanguageCode; + return this; + } + + /** + * Data of the items purchased. + * @return value or {@code null} for none + */ + public java.util.List getItems() { + return items; + } + + /** + * Data of the items purchased. + * @param items items or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartData setItems(java.util.List items) { + this.items = items; + return this; + } + + /** + * Sum of all transaction level discounts, such as free shipping and coupon discounts for the + * whole cart. The currency code is the same as that in the `ClickConversion` message. + * @return value or {@code null} for none + */ + public java.lang.Double getLocalTransactionCost() { + return localTransactionCost; + } + + /** + * Sum of all transaction level discounts, such as free shipping and coupon discounts for the + * whole cart. The currency code is the same as that in the `ClickConversion` message. + * @param localTransactionCost localTransactionCost or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartData setLocalTransactionCost(java.lang.Double localTransactionCost) { + this.localTransactionCost = localTransactionCost; + return this; + } + + /** + * The Merchant Center ID where the items are uploaded. + * @return value or {@code null} for none + */ + public java.lang.Long getMerchantId() { + return merchantId; + } + + /** + * The Merchant Center ID where the items are uploaded. + * @param merchantId merchantId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartData setMerchantId(java.lang.Long merchantId) { + this.merchantId = merchantId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCartData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCartData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCartData clone() { + return (GoogleAdsSearchads360V23ServicesCartData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCartDataItem.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCartDataItem.java new file mode 100644 index 00000000000..4be432e7c3b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCartDataItem.java @@ -0,0 +1,118 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains data of the items purchased. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCartDataItem extends com.google.api.client.json.GenericJson { + + /** + * The shopping id of the item. Must be equal to the Merchant Center product identifier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String productId; + + /** + * Number of items sold. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer quantity; + + /** + * Unit price excluding tax, shipping, and any transaction level discounts. The currency code is + * the same as that in the `ClickConversion` message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double unitPrice; + + /** + * The shopping id of the item. Must be equal to the Merchant Center product identifier. + * @return value or {@code null} for none + */ + public java.lang.String getProductId() { + return productId; + } + + /** + * The shopping id of the item. Must be equal to the Merchant Center product identifier. + * @param productId productId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartDataItem setProductId(java.lang.String productId) { + this.productId = productId; + return this; + } + + /** + * Number of items sold. + * @return value or {@code null} for none + */ + public java.lang.Integer getQuantity() { + return quantity; + } + + /** + * Number of items sold. + * @param quantity quantity or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartDataItem setQuantity(java.lang.Integer quantity) { + this.quantity = quantity; + return this; + } + + /** + * Unit price excluding tax, shipping, and any transaction level discounts. The currency code is + * the same as that in the `ClickConversion` message. + * @return value or {@code null} for none + */ + public java.lang.Double getUnitPrice() { + return unitPrice; + } + + /** + * Unit price excluding tax, shipping, and any transaction level discounts. The currency code is + * the same as that in the `ClickConversion` message. + * @param unitPrice unitPrice or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartDataItem setUnitPrice(java.lang.Double unitPrice) { + this.unitPrice = unitPrice; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCartDataItem set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCartDataItem) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCartDataItem clone() { + return (GoogleAdsSearchads360V23ServicesCartDataItem) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesClickConversion.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesClickConversion.java new file mode 100644 index 00000000000..3d1839e9a09 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesClickConversion.java @@ -0,0 +1,584 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A click conversion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesClickConversion extends com.google.api.client.json.GenericJson { + + /** + * The cart data associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesCartData cartData; + + /** + * The consent setting for the event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23CommonConsent consent; + + /** + * Resource name of the conversion action associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion action id, validation will ignore the + * customer id and use the conversion action id as the sole identifier of the conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * The date time at which the conversion occurred. Must be after the click time. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionDateTime; + + /** + * The environment this conversion was recorded on, for example, App or Web. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionEnvironment; + + /** + * The value of the conversion for the advertiser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double conversionValue; + + /** + * Currency associated with the conversion value. This is the ISO 4217 3-character currency code. + * For example: USD, EUR. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The custom variables associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List customVariables; + + /** + * Type of the customer associated with the conversion (new or returning). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customerType; + + /** + * Additional data about externally attributed conversions. This field is required for conversions + * with an externally attributed conversion action, but should not be set otherwise. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesExternalAttributionData externalAttributionData; + + /** + * The URL parameter for clicks associated with app conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gbraid; + + /** + * The Google click ID (gclid) associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gclid; + + /** + * The order ID associated with the conversion. An order id can only be used for one conversion + * per conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orderId; + + /** + * The session attributes for the event, represented as a base64-encoded JSON string. The content + * should be generated by Google-provided library. To set session attributes individually, use + * session_attributes_key_value_pairs instead. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sessionAttributesEncoded; + + /** + * The session attributes for the event, represented as key-value pairs. This field is only + * available to allowlisted users. To include this field in conversion imports, upgrade to the + * Data Manager API. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs sessionAttributesKeyValuePairs; + + /** + * The user identifiers associated with this conversion. Only hashed_email and hashed_phone_number + * are supported for conversion uploads. The maximum number of user identifiers for each + * conversion is 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userIdentifiers; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonUserIdentifier used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonUserIdentifier.class); + } + + /** + * The IP address of the customer when they arrived on the landing page after an ad click but + * before a conversion event. This is the IP address of the customer's device, not the + * advertiser's server. Google Ads does not support IP address matching for end users in the + * European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to + * conditionally exclude sharing IP addresses from users from these regions and ensure that you + * provide users with clear and comprehensive information about the data you collect on your + * sites, apps, and other properties and get consent where required by law or any applicable + * Google policies. See [About offline conversion imports](//support.google.com/google- + * ads/answer/2998031) page for more details. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userIpAddress; + + /** + * The URL parameter for clicks associated with web conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String wbraid; + + /** + * The cart data associated with this conversion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCartData getCartData() { + return cartData; + } + + /** + * The cart data associated with this conversion. + * @param cartData cartData or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setCartData(GoogleAdsSearchads360V23ServicesCartData cartData) { + this.cartData = cartData; + return this; + } + + /** + * The consent setting for the event. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23CommonConsent getConsent() { + return consent; + } + + /** + * The consent setting for the event. + * @param consent consent or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setConsent(GoogleAdsSearchads360V23CommonConsent consent) { + this.consent = consent; + return this; + } + + /** + * Resource name of the conversion action associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion action id, validation will ignore the + * customer id and use the conversion action id as the sole identifier of the conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion action id, validation will ignore the + * customer id and use the conversion action id as the sole identifier of the conversion action. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * The date time at which the conversion occurred. Must be after the click time. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getConversionDateTime() { + return conversionDateTime; + } + + /** + * The date time at which the conversion occurred. Must be after the click time. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * @param conversionDateTime conversionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setConversionDateTime(java.lang.String conversionDateTime) { + this.conversionDateTime = conversionDateTime; + return this; + } + + /** + * The environment this conversion was recorded on, for example, App or Web. + * @return value or {@code null} for none + */ + public java.lang.String getConversionEnvironment() { + return conversionEnvironment; + } + + /** + * The environment this conversion was recorded on, for example, App or Web. + * @param conversionEnvironment conversionEnvironment or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setConversionEnvironment(java.lang.String conversionEnvironment) { + this.conversionEnvironment = conversionEnvironment; + return this; + } + + /** + * The value of the conversion for the advertiser. + * @return value or {@code null} for none + */ + public java.lang.Double getConversionValue() { + return conversionValue; + } + + /** + * The value of the conversion for the advertiser. + * @param conversionValue conversionValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setConversionValue(java.lang.Double conversionValue) { + this.conversionValue = conversionValue; + return this; + } + + /** + * Currency associated with the conversion value. This is the ISO 4217 3-character currency code. + * For example: USD, EUR. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * Currency associated with the conversion value. This is the ISO 4217 3-character currency code. + * For example: USD, EUR. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * The custom variables associated with this conversion. + * @return value or {@code null} for none + */ + public java.util.List getCustomVariables() { + return customVariables; + } + + /** + * The custom variables associated with this conversion. + * @param customVariables customVariables or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setCustomVariables(java.util.List customVariables) { + this.customVariables = customVariables; + return this; + } + + /** + * Type of the customer associated with the conversion (new or returning). + * @return value or {@code null} for none + */ + public java.lang.String getCustomerType() { + return customerType; + } + + /** + * Type of the customer associated with the conversion (new or returning). + * @param customerType customerType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setCustomerType(java.lang.String customerType) { + this.customerType = customerType; + return this; + } + + /** + * Additional data about externally attributed conversions. This field is required for conversions + * with an externally attributed conversion action, but should not be set otherwise. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExternalAttributionData getExternalAttributionData() { + return externalAttributionData; + } + + /** + * Additional data about externally attributed conversions. This field is required for conversions + * with an externally attributed conversion action, but should not be set otherwise. + * @param externalAttributionData externalAttributionData or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setExternalAttributionData(GoogleAdsSearchads360V23ServicesExternalAttributionData externalAttributionData) { + this.externalAttributionData = externalAttributionData; + return this; + } + + /** + * The URL parameter for clicks associated with app conversions. + * @return value or {@code null} for none + */ + public java.lang.String getGbraid() { + return gbraid; + } + + /** + * The URL parameter for clicks associated with app conversions. + * @param gbraid gbraid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setGbraid(java.lang.String gbraid) { + this.gbraid = gbraid; + return this; + } + + /** + * The Google click ID (gclid) associated with this conversion. + * @return value or {@code null} for none + */ + public java.lang.String getGclid() { + return gclid; + } + + /** + * The Google click ID (gclid) associated with this conversion. + * @param gclid gclid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setGclid(java.lang.String gclid) { + this.gclid = gclid; + return this; + } + + /** + * The order ID associated with the conversion. An order id can only be used for one conversion + * per conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getOrderId() { + return orderId; + } + + /** + * The order ID associated with the conversion. An order id can only be used for one conversion + * per conversion action. + * @param orderId orderId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setOrderId(java.lang.String orderId) { + this.orderId = orderId; + return this; + } + + /** + * The session attributes for the event, represented as a base64-encoded JSON string. The content + * should be generated by Google-provided library. To set session attributes individually, use + * session_attributes_key_value_pairs instead. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * @see #decodeSessionAttributesEncoded() + * @return value or {@code null} for none + */ + public java.lang.String getSessionAttributesEncoded() { + return sessionAttributesEncoded; + } + + /** + * The session attributes for the event, represented as a base64-encoded JSON string. The content + * should be generated by Google-provided library. To set session attributes individually, use + * session_attributes_key_value_pairs instead. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * @see #getSessionAttributesEncoded() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeSessionAttributesEncoded() { + return com.google.api.client.util.Base64.decodeBase64(sessionAttributesEncoded); + } + + /** + * The session attributes for the event, represented as a base64-encoded JSON string. The content + * should be generated by Google-provided library. To set session attributes individually, use + * session_attributes_key_value_pairs instead. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * @see #encodeSessionAttributesEncoded() + * @param sessionAttributesEncoded sessionAttributesEncoded or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setSessionAttributesEncoded(java.lang.String sessionAttributesEncoded) { + this.sessionAttributesEncoded = sessionAttributesEncoded; + return this; + } + + /** + * The session attributes for the event, represented as a base64-encoded JSON string. The content + * should be generated by Google-provided library. To set session attributes individually, use + * session_attributes_key_value_pairs instead. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * @see #setSessionAttributesEncoded() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleAdsSearchads360V23ServicesClickConversion encodeSessionAttributesEncoded(byte[] sessionAttributesEncoded) { + this.sessionAttributesEncoded = com.google.api.client.util.Base64.encodeBase64URLSafeString(sessionAttributesEncoded); + return this; + } + + /** + * The session attributes for the event, represented as key-value pairs. This field is only + * available to allowlisted users. To include this field in conversion imports, upgrade to the + * Data Manager API. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs getSessionAttributesKeyValuePairs() { + return sessionAttributesKeyValuePairs; + } + + /** + * The session attributes for the event, represented as key-value pairs. This field is only + * available to allowlisted users. To include this field in conversion imports, upgrade to the + * Data Manager API. + * @param sessionAttributesKeyValuePairs sessionAttributesKeyValuePairs or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setSessionAttributesKeyValuePairs(GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs sessionAttributesKeyValuePairs) { + this.sessionAttributesKeyValuePairs = sessionAttributesKeyValuePairs; + return this; + } + + /** + * The user identifiers associated with this conversion. Only hashed_email and hashed_phone_number + * are supported for conversion uploads. The maximum number of user identifiers for each + * conversion is 5. + * @return value or {@code null} for none + */ + public java.util.List getUserIdentifiers() { + return userIdentifiers; + } + + /** + * The user identifiers associated with this conversion. Only hashed_email and hashed_phone_number + * are supported for conversion uploads. The maximum number of user identifiers for each + * conversion is 5. + * @param userIdentifiers userIdentifiers or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setUserIdentifiers(java.util.List userIdentifiers) { + this.userIdentifiers = userIdentifiers; + return this; + } + + /** + * The IP address of the customer when they arrived on the landing page after an ad click but + * before a conversion event. This is the IP address of the customer's device, not the + * advertiser's server. Google Ads does not support IP address matching for end users in the + * European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to + * conditionally exclude sharing IP addresses from users from these regions and ensure that you + * provide users with clear and comprehensive information about the data you collect on your + * sites, apps, and other properties and get consent where required by law or any applicable + * Google policies. See [About offline conversion imports](//support.google.com/google- + * ads/answer/2998031) page for more details. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * @return value or {@code null} for none + */ + public java.lang.String getUserIpAddress() { + return userIpAddress; + } + + /** + * The IP address of the customer when they arrived on the landing page after an ad click but + * before a conversion event. This is the IP address of the customer's device, not the + * advertiser's server. Google Ads does not support IP address matching for end users in the + * European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to + * conditionally exclude sharing IP addresses from users from these regions and ensure that you + * provide users with clear and comprehensive information about the data you collect on your + * sites, apps, and other properties and get consent where required by law or any applicable + * Google policies. See [About offline conversion imports](//support.google.com/google- + * ads/answer/2998031) page for more details. This field is only available to allowlisted users. + * To include this field in conversion imports, upgrade to the Data Manager API. + * @param userIpAddress userIpAddress or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setUserIpAddress(java.lang.String userIpAddress) { + this.userIpAddress = userIpAddress; + return this; + } + + /** + * The URL parameter for clicks associated with web conversions. + * @return value or {@code null} for none + */ + public java.lang.String getWbraid() { + return wbraid; + } + + /** + * The URL parameter for clicks associated with web conversions. + * @param wbraid wbraid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversion setWbraid(java.lang.String wbraid) { + this.wbraid = wbraid; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesClickConversion set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesClickConversion) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesClickConversion clone() { + return (GoogleAdsSearchads360V23ServicesClickConversion) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesClickConversionResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesClickConversionResult.java new file mode 100644 index 00000000000..b0a79c1c3c4 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesClickConversionResult.java @@ -0,0 +1,202 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Identifying information for a successfully processed `ClickConversion`. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesClickConversionResult extends com.google.api.client.json.GenericJson { + + /** + * Resource name of the conversion action associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * The date time at which the conversion occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionDateTime; + + /** + * The URL parameter for clicks associated with app conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gbraid; + + /** + * The Google Click ID (gclid) associated with this conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gclid; + + /** + * The user identifiers associated with this conversion. Only hashed_email and hashed_phone_number + * are supported for conversion uploads. The maximum number of user identifiers for each + * conversion is 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userIdentifiers; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonUserIdentifier used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonUserIdentifier.class); + } + + /** + * The URL parameter for clicks associated with web conversions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String wbraid; + + /** + * Resource name of the conversion action associated with this conversion. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action associated with this conversion. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversionResult setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * The date time at which the conversion occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getConversionDateTime() { + return conversionDateTime; + } + + /** + * The date time at which the conversion occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * @param conversionDateTime conversionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversionResult setConversionDateTime(java.lang.String conversionDateTime) { + this.conversionDateTime = conversionDateTime; + return this; + } + + /** + * The URL parameter for clicks associated with app conversions. + * @return value or {@code null} for none + */ + public java.lang.String getGbraid() { + return gbraid; + } + + /** + * The URL parameter for clicks associated with app conversions. + * @param gbraid gbraid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversionResult setGbraid(java.lang.String gbraid) { + this.gbraid = gbraid; + return this; + } + + /** + * The Google Click ID (gclid) associated with this conversion. + * @return value or {@code null} for none + */ + public java.lang.String getGclid() { + return gclid; + } + + /** + * The Google Click ID (gclid) associated with this conversion. + * @param gclid gclid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversionResult setGclid(java.lang.String gclid) { + this.gclid = gclid; + return this; + } + + /** + * The user identifiers associated with this conversion. Only hashed_email and hashed_phone_number + * are supported for conversion uploads. The maximum number of user identifiers for each + * conversion is 5. + * @return value or {@code null} for none + */ + public java.util.List getUserIdentifiers() { + return userIdentifiers; + } + + /** + * The user identifiers associated with this conversion. Only hashed_email and hashed_phone_number + * are supported for conversion uploads. The maximum number of user identifiers for each + * conversion is 5. + * @param userIdentifiers userIdentifiers or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversionResult setUserIdentifiers(java.util.List userIdentifiers) { + this.userIdentifiers = userIdentifiers; + return this; + } + + /** + * The URL parameter for clicks associated with web conversions. + * @return value or {@code null} for none + */ + public java.lang.String getWbraid() { + return wbraid; + } + + /** + * The URL parameter for clicks associated with web conversions. + * @param wbraid wbraid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesClickConversionResult setWbraid(java.lang.String wbraid) { + this.wbraid = wbraid; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesClickConversionResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesClickConversionResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesClickConversionResult clone() { + return (GoogleAdsSearchads360V23ServicesClickConversionResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionAdjustment.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionAdjustment.java new file mode 100644 index 00000000000..9ec151d003a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionAdjustment.java @@ -0,0 +1,292 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A conversion adjustment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionAdjustment extends com.google.api.client.json.GenericJson { + + /** + * The date time at which the adjustment occurred. Must be after the conversion_date_time. The + * timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, + * "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adjustmentDateTime; + + /** + * The adjustment type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adjustmentType; + + /** + * Resource name of the conversion action associated with this conversion adjustment. Note: + * Although this resource name consists of a customer id and a conversion action id, validation + * will ignore the customer id and use the conversion action id as the sole identifier of the + * conversion action. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * For adjustments, uniquely identifies a conversion that was reported without an order ID + * specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in + * addition to the order_id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesGclidDateTimePair gclidDateTimePair; + + /** + * The order ID of the conversion to be adjusted. If the conversion was reported with an order ID + * specified, that order ID must be used as the identifier here. The order ID is required for + * enhancements. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orderId; + + /** + * Information needed to restate the conversion's value. Required for restatements. Should not be + * supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you + * want to upload a second restatement with a different adjusted value, it must have a new, more + * recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the + * previous restatement and ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesRestatementValue restatementValue; + + /** + * The user agent to enhance the original conversion. This can be found in your user's HTTP + * request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS + * 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userAgent; + + /** + * The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only + * accepts user identifiers in enhancements. The maximum number of user identifiers for each + * enhancement is 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List userIdentifiers; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23CommonUserIdentifier used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23CommonUserIdentifier.class); + } + + /** + * The date time at which the adjustment occurred. Must be after the conversion_date_time. The + * timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, + * "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getAdjustmentDateTime() { + return adjustmentDateTime; + } + + /** + * The date time at which the adjustment occurred. Must be after the conversion_date_time. The + * timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, + * "2019-01-01 12:32:45-08:00". + * @param adjustmentDateTime adjustmentDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setAdjustmentDateTime(java.lang.String adjustmentDateTime) { + this.adjustmentDateTime = adjustmentDateTime; + return this; + } + + /** + * The adjustment type. + * @return value or {@code null} for none + */ + public java.lang.String getAdjustmentType() { + return adjustmentType; + } + + /** + * The adjustment type. + * @param adjustmentType adjustmentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setAdjustmentType(java.lang.String adjustmentType) { + this.adjustmentType = adjustmentType; + return this; + } + + /** + * Resource name of the conversion action associated with this conversion adjustment. Note: + * Although this resource name consists of a customer id and a conversion action id, validation + * will ignore the customer id and use the conversion action id as the sole identifier of the + * conversion action. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action associated with this conversion adjustment. Note: + * Although this resource name consists of a customer id and a conversion action id, validation + * will ignore the customer id and use the conversion action id as the sole identifier of the + * conversion action. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * For adjustments, uniquely identifies a conversion that was reported without an order ID + * specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in + * addition to the order_id. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGclidDateTimePair getGclidDateTimePair() { + return gclidDateTimePair; + } + + /** + * For adjustments, uniquely identifies a conversion that was reported without an order ID + * specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in + * addition to the order_id. + * @param gclidDateTimePair gclidDateTimePair or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setGclidDateTimePair(GoogleAdsSearchads360V23ServicesGclidDateTimePair gclidDateTimePair) { + this.gclidDateTimePair = gclidDateTimePair; + return this; + } + + /** + * The order ID of the conversion to be adjusted. If the conversion was reported with an order ID + * specified, that order ID must be used as the identifier here. The order ID is required for + * enhancements. + * @return value or {@code null} for none + */ + public java.lang.String getOrderId() { + return orderId; + } + + /** + * The order ID of the conversion to be adjusted. If the conversion was reported with an order ID + * specified, that order ID must be used as the identifier here. The order ID is required for + * enhancements. + * @param orderId orderId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setOrderId(java.lang.String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Information needed to restate the conversion's value. Required for restatements. Should not be + * supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you + * want to upload a second restatement with a different adjusted value, it must have a new, more + * recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the + * previous restatement and ignored. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRestatementValue getRestatementValue() { + return restatementValue; + } + + /** + * Information needed to restate the conversion's value. Required for restatements. Should not be + * supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you + * want to upload a second restatement with a different adjusted value, it must have a new, more + * recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the + * previous restatement and ignored. + * @param restatementValue restatementValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setRestatementValue(GoogleAdsSearchads360V23ServicesRestatementValue restatementValue) { + this.restatementValue = restatementValue; + return this; + } + + /** + * The user agent to enhance the original conversion. This can be found in your user's HTTP + * request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS + * 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. + * @return value or {@code null} for none + */ + public java.lang.String getUserAgent() { + return userAgent; + } + + /** + * The user agent to enhance the original conversion. This can be found in your user's HTTP + * request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS + * 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. + * @param userAgent userAgent or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setUserAgent(java.lang.String userAgent) { + this.userAgent = userAgent; + return this; + } + + /** + * The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only + * accepts user identifiers in enhancements. The maximum number of user identifiers for each + * enhancement is 5. + * @return value or {@code null} for none + */ + public java.util.List getUserIdentifiers() { + return userIdentifiers; + } + + /** + * The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only + * accepts user identifiers in enhancements. The maximum number of user identifiers for each + * enhancement is 5. + * @param userIdentifiers userIdentifiers or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustment setUserIdentifiers(java.util.List userIdentifiers) { + this.userIdentifiers = userIdentifiers; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionAdjustment set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionAdjustment) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionAdjustment clone() { + return (GoogleAdsSearchads360V23ServicesConversionAdjustment) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionAdjustmentResult.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionAdjustmentResult.java new file mode 100644 index 00000000000..8c11986910c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesConversionAdjustmentResult.java @@ -0,0 +1,166 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Information identifying a successfully processed ConversionAdjustment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesConversionAdjustmentResult extends com.google.api.client.json.GenericJson { + + /** + * The date time at which the adjustment occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adjustmentDateTime; + + /** + * The adjustment type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adjustmentType; + + /** + * Resource name of the conversion action associated with this conversion adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionAction; + + /** + * The gclid and conversion date time of the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleAdsSearchads360V23ServicesGclidDateTimePair gclidDateTimePair; + + /** + * The order ID of the conversion to be adjusted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orderId; + + /** + * The date time at which the adjustment occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getAdjustmentDateTime() { + return adjustmentDateTime; + } + + /** + * The date time at which the adjustment occurred. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + * for example, "2019-01-01 12:32:45-08:00". + * @param adjustmentDateTime adjustmentDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult setAdjustmentDateTime(java.lang.String adjustmentDateTime) { + this.adjustmentDateTime = adjustmentDateTime; + return this; + } + + /** + * The adjustment type. + * @return value or {@code null} for none + */ + public java.lang.String getAdjustmentType() { + return adjustmentType; + } + + /** + * The adjustment type. + * @param adjustmentType adjustmentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult setAdjustmentType(java.lang.String adjustmentType) { + this.adjustmentType = adjustmentType; + return this; + } + + /** + * Resource name of the conversion action associated with this conversion adjustment. + * @return value or {@code null} for none + */ + public java.lang.String getConversionAction() { + return conversionAction; + } + + /** + * Resource name of the conversion action associated with this conversion adjustment. + * @param conversionAction conversionAction or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult setConversionAction(java.lang.String conversionAction) { + this.conversionAction = conversionAction; + return this; + } + + /** + * The gclid and conversion date time of the conversion. + * @return value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGclidDateTimePair getGclidDateTimePair() { + return gclidDateTimePair; + } + + /** + * The gclid and conversion date time of the conversion. + * @param gclidDateTimePair gclidDateTimePair or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult setGclidDateTimePair(GoogleAdsSearchads360V23ServicesGclidDateTimePair gclidDateTimePair) { + this.gclidDateTimePair = gclidDateTimePair; + return this; + } + + /** + * The order ID of the conversion to be adjusted. + * @return value or {@code null} for none + */ + public java.lang.String getOrderId() { + return orderId; + } + + /** + * The order ID of the conversion to be adjusted. + * @param orderId orderId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult setOrderId(java.lang.String orderId) { + this.orderId = orderId; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesConversionAdjustmentResult) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesConversionAdjustmentResult clone() { + return (GoogleAdsSearchads360V23ServicesConversionAdjustmentResult) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomVariable.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomVariable.java new file mode 100644 index 00000000000..fa0f9fd4c47 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesCustomVariable.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * A custom variable. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesCustomVariable extends com.google.api.client.json.GenericJson { + + /** + * Resource name of the custom variable associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion custom variable id, validation will + * ignore the customer id and use the conversion custom variable id as the sole identifier of the + * conversion custom variable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionCustomVariable; + + /** + * The value string of this custom variable. The value of the custom variable should not contain + * private customer data, such as email addresses or phone numbers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Resource name of the custom variable associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion custom variable id, validation will + * ignore the customer id and use the conversion custom variable id as the sole identifier of the + * conversion custom variable. + * @return value or {@code null} for none + */ + public java.lang.String getConversionCustomVariable() { + return conversionCustomVariable; + } + + /** + * Resource name of the custom variable associated with this conversion. Note: Although this + * resource name consists of a customer id and a conversion custom variable id, validation will + * ignore the customer id and use the conversion custom variable id as the sole identifier of the + * conversion custom variable. + * @param conversionCustomVariable conversionCustomVariable or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomVariable setConversionCustomVariable(java.lang.String conversionCustomVariable) { + this.conversionCustomVariable = conversionCustomVariable; + return this; + } + + /** + * The value string of this custom variable. The value of the custom variable should not contain + * private customer data, such as email addresses or phone numbers. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The value string of this custom variable. The value of the custom variable should not contain + * private customer data, such as email addresses or phone numbers. + * @param value value or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesCustomVariable setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomVariable set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesCustomVariable) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesCustomVariable clone() { + return (GoogleAdsSearchads360V23ServicesCustomVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExternalAttributionData.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExternalAttributionData.java new file mode 100644 index 00000000000..a5dcc75b855 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesExternalAttributionData.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains additional information about externally attributed conversions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesExternalAttributionData extends com.google.api.client.json.GenericJson { + + /** + * Represents the fraction of the conversion that is attributed to the Google Ads click. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double externalAttributionCredit; + + /** + * Specifies the attribution model name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String externalAttributionModel; + + /** + * Represents the fraction of the conversion that is attributed to the Google Ads click. + * @return value or {@code null} for none + */ + public java.lang.Double getExternalAttributionCredit() { + return externalAttributionCredit; + } + + /** + * Represents the fraction of the conversion that is attributed to the Google Ads click. + * @param externalAttributionCredit externalAttributionCredit or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExternalAttributionData setExternalAttributionCredit(java.lang.Double externalAttributionCredit) { + this.externalAttributionCredit = externalAttributionCredit; + return this; + } + + /** + * Specifies the attribution model name. + * @return value or {@code null} for none + */ + public java.lang.String getExternalAttributionModel() { + return externalAttributionModel; + } + + /** + * Specifies the attribution model name. + * @param externalAttributionModel externalAttributionModel or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesExternalAttributionData setExternalAttributionModel(java.lang.String externalAttributionModel) { + this.externalAttributionModel = externalAttributionModel; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesExternalAttributionData set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesExternalAttributionData) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesExternalAttributionData clone() { + return (GoogleAdsSearchads360V23ServicesExternalAttributionData) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGclidDateTimePair.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGclidDateTimePair.java new file mode 100644 index 00000000000..041f9d0e098 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesGclidDateTimePair.java @@ -0,0 +1,97 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Uniquely identifies a conversion that was reported without an order ID specified. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesGclidDateTimePair extends com.google.api.client.json.GenericJson { + + /** + * The date time at which the original conversion for this adjustment occurred. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversionDateTime; + + /** + * Google click ID (gclid) associated with the original conversion for this adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gclid; + + /** + * The date time at which the original conversion for this adjustment occurred. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * @return value or {@code null} for none + */ + public java.lang.String getConversionDateTime() { + return conversionDateTime; + } + + /** + * The date time at which the original conversion for this adjustment occurred. The timezone must + * be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 + * 12:32:45-08:00". + * @param conversionDateTime conversionDateTime or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGclidDateTimePair setConversionDateTime(java.lang.String conversionDateTime) { + this.conversionDateTime = conversionDateTime; + return this; + } + + /** + * Google click ID (gclid) associated with the original conversion for this adjustment. + * @return value or {@code null} for none + */ + public java.lang.String getGclid() { + return gclid; + } + + /** + * Google click ID (gclid) associated with the original conversion for this adjustment. + * @param gclid gclid or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesGclidDateTimePair setGclid(java.lang.String gclid) { + this.gclid = gclid; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesGclidDateTimePair set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesGclidDateTimePair) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesGclidDateTimePair clone() { + return (GoogleAdsSearchads360V23ServicesGclidDateTimePair) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java index 18593bde8aa..984d7c31874 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest.java @@ -17,7 +17,10 @@ package com.google.api.services.searchads360.v23.model; /** - * Request message for CustomerLabelService.MutateCustomerLabels. + * Request message for CustomerLabelService.MutateCustomerLabels. A single + * `MutateCustomerLabelsRequest` can only modify labels for the single customer account specified in + * the request. To apply a label to multiple different accounts, separate + * `MutateCustomerLabelsRequest` calls must be made. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest.java new file mode 100644 index 00000000000..e43044fa319 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest.java @@ -0,0 +1,148 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for SearchAds360CampaignService.MutateSearchAds360Campaigns. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of operations to perform on individual Search Ads 360 campaigns. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List operations; + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String responseContentType; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The list of operations to perform on individual Search Ads 360 campaigns. + * @return value or {@code null} for none + */ + public java.util.List getOperations() { + return operations; + } + + /** + * Required. The list of operations to perform on individual Search Ads 360 campaigns. + * @param operations operations or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest setOperations(java.util.List operations) { + this.operations = operations; + return this; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * If true, successful operations will be carried out and invalid operations will return errors. + * If false, all operations will be carried out in one transaction if and only if they are all + * valid. Default is false. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @return value or {@code null} for none + */ + public java.lang.String getResponseContentType() { + return responseContentType; + } + + /** + * The response content type setting. Determines whether the mutable resource or just the resource + * name should be returned post mutation. + * @param responseContentType responseContentType or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest setResponseContentType(java.lang.String responseContentType) { + this.responseContentType = responseContentType; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest clone() { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse.java new file mode 100644 index 00000000000..2a4e95d0e6c --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for Search Ads 360 campaign mutate. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse extends com.google.api.client.json.GenericJson { + + /** + * All results for the mutate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult.class); + } + + /** + * All results for the mutate. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * All results for the mutate. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse clone() { + return (GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRestatementValue.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRestatementValue.java new file mode 100644 index 00000000000..34dfb126eb2 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesRestatementValue.java @@ -0,0 +1,109 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains information needed to restate a conversion's value. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesRestatementValue extends com.google.api.client.json.GenericJson { + + /** + * The restated conversion value. This is the value of the conversion after restatement. For + * example, to change the value of a conversion from 100 to 70, an adjusted value of 70 should be + * reported. NOTE: If you want to upload a second restatement with a different adjusted value, it + * must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a + * duplicate of the previous restatement and ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double adjustedValue; + + /** + * The currency of the restated value. If not provided, then the default currency from the + * conversion action is used, and if that is not set then the account currency is used. This is + * the ISO 4217 3-character currency code for example, USD or EUR. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currencyCode; + + /** + * The restated conversion value. This is the value of the conversion after restatement. For + * example, to change the value of a conversion from 100 to 70, an adjusted value of 70 should be + * reported. NOTE: If you want to upload a second restatement with a different adjusted value, it + * must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a + * duplicate of the previous restatement and ignored. + * @return value or {@code null} for none + */ + public java.lang.Double getAdjustedValue() { + return adjustedValue; + } + + /** + * The restated conversion value. This is the value of the conversion after restatement. For + * example, to change the value of a conversion from 100 to 70, an adjusted value of 70 should be + * reported. NOTE: If you want to upload a second restatement with a different adjusted value, it + * must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a + * duplicate of the previous restatement and ignored. + * @param adjustedValue adjustedValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRestatementValue setAdjustedValue(java.lang.Double adjustedValue) { + this.adjustedValue = adjustedValue; + return this; + } + + /** + * The currency of the restated value. If not provided, then the default currency from the + * conversion action is used, and if that is not set then the account currency is used. This is + * the ISO 4217 3-character currency code for example, USD or EUR. + * @return value or {@code null} for none + */ + public java.lang.String getCurrencyCode() { + return currencyCode; + } + + /** + * The currency of the restated value. If not provided, then the default currency from the + * conversion action is used, and if that is not set then the account currency is used. This is + * the ISO 4217 3-character currency code for example, USD or EUR. + * @param currencyCode currencyCode or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesRestatementValue setCurrencyCode(java.lang.String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesRestatementValue set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesRestatementValue) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesRestatementValue clone() { + return (GoogleAdsSearchads360V23ServicesRestatementValue) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair.java new file mode 100644 index 00000000000..55c1148ec1a --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains one session attribute of the conversion. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair extends com.google.api.client.json.GenericJson { + + /** + * Required. The name of the session attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sessionAttributeKey; + + /** + * Required. The value of the session attribute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sessionAttributeValue; + + /** + * Required. The name of the session attribute. + * @return value or {@code null} for none + */ + public java.lang.String getSessionAttributeKey() { + return sessionAttributeKey; + } + + /** + * Required. The name of the session attribute. + * @param sessionAttributeKey sessionAttributeKey or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair setSessionAttributeKey(java.lang.String sessionAttributeKey) { + this.sessionAttributeKey = sessionAttributeKey; + return this; + } + + /** + * Required. The value of the session attribute. + * @return value or {@code null} for none + */ + public java.lang.String getSessionAttributeValue() { + return sessionAttributeValue; + } + + /** + * Required. The value of the session attribute. + * @param sessionAttributeValue sessionAttributeValue or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair setSessionAttributeValue(java.lang.String sessionAttributeValue) { + this.sessionAttributeValue = sessionAttributeValue; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair clone() { + return (GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs.java new file mode 100644 index 00000000000..aaebec2821d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Contains session attributes of the conversion, represented as key-value pairs. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs extends com.google.api.client.json.GenericJson { + + /** + * Required. The session attributes for the conversion. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List keyValuePairs; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair.class); + } + + /** + * Required. The session attributes for the conversion. + * @return value or {@code null} for none + */ + public java.util.List getKeyValuePairs() { + return keyValuePairs; + } + + /** + * Required. The session attributes for the conversion. + * @param keyValuePairs keyValuePairs or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs setKeyValuePairs(java.util.List keyValuePairs) { + this.keyValuePairs = keyValuePairs; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs clone() { + return (GoogleAdsSearchads360V23ServicesSessionAttributesKeyValuePairs) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest.java new file mode 100644 index 00000000000..d70d4be2163 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionUploadService.UploadCallConversions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The conversions that are being uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCallConversion used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCallConversion.class); + } + + /** + * Required. If `true`, successful operations will be carried out and invalid operations will + * return errors. If `false`, all operations will be carried out in one transaction if and only if + * they are all valid. This should always be set to `true`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The conversions that are being uploaded. + * @return value or {@code null} for none + */ + public java.util.List getConversions() { + return conversions; + } + + /** + * Required. The conversions that are being uploaded. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest setConversions(java.util.List conversions) { + this.conversions = conversions; + return this; + } + + /** + * Required. If `true`, successful operations will be carried out and invalid operations will + * return errors. If `false`, all operations will be carried out in one transaction if and only if + * they are all valid. This should always be set to `true`. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Required. If `true`, successful operations will be carried out and invalid operations will + * return errors. If `false`, all operations will be carried out in one transaction if and only if + * they are all valid. This should always be set to `true`. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest clone() { + return (GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse.java new file mode 100644 index 00000000000..808d3926345 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionUploadService.UploadCallConversions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Errors that pertain to conversion failures in the partial failure mode. Returned when all + * errors occur inside the conversions. If any errors occur outside the conversions (for example, + * auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Returned for successfully processed conversions. Proto will be empty for rows that received an + * error. Results are not returned when `validate_only` is `true`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesCallConversionResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesCallConversionResult.class); + } + + /** + * Errors that pertain to conversion failures in the partial failure mode. Returned when all + * errors occur inside the conversions. If any errors occur outside the conversions (for example, + * auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to conversion failures in the partial failure mode. Returned when all + * errors occur inside the conversions. If any errors occur outside the conversions (for example, + * auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Returned for successfully processed conversions. Proto will be empty for rows that received an + * error. Results are not returned when `validate_only` is `true`. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Returned for successfully processed conversions. Proto will be empty for rows that received an + * error. Results are not returned when `validate_only` is `true`. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse clone() { + return (GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest.java new file mode 100644 index 00000000000..12c37be2c4b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest.java @@ -0,0 +1,160 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionUploadService.UploadClickConversions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The conversions that are being uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversions; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesClickConversion used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesClickConversion.class); + } + + /** + * Optional. Optional input to set job ID. Must be a non-negative number that is less than 2^31 if + * provided. If this field is not provided, the API will generate a job ID in the range [2^31, + * (2^63)-1]. The API will return the value for this request in the `job_id` field of the + * `UploadClickConversionsResponse`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer jobId; + + /** + * Required. If `true`, successful operations will be carried out and invalid operations will + * return errors. If `false`, all operations will be carried out in one transaction if and only if + * they are all valid. This should always be set to `true`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If `true`, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The conversions that are being uploaded. + * @return value or {@code null} for none + */ + public java.util.List getConversions() { + return conversions; + } + + /** + * Required. The conversions that are being uploaded. + * @param conversions conversions or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest setConversions(java.util.List conversions) { + this.conversions = conversions; + return this; + } + + /** + * Optional. Optional input to set job ID. Must be a non-negative number that is less than 2^31 if + * provided. If this field is not provided, the API will generate a job ID in the range [2^31, + * (2^63)-1]. The API will return the value for this request in the `job_id` field of the + * `UploadClickConversionsResponse`. + * @return value or {@code null} for none + */ + public java.lang.Integer getJobId() { + return jobId; + } + + /** + * Optional. Optional input to set job ID. Must be a non-negative number that is less than 2^31 if + * provided. If this field is not provided, the API will generate a job ID in the range [2^31, + * (2^63)-1]. The API will return the value for this request in the `job_id` field of the + * `UploadClickConversionsResponse`. + * @param jobId jobId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest setJobId(java.lang.Integer jobId) { + this.jobId = jobId; + return this; + } + + /** + * Required. If `true`, successful operations will be carried out and invalid operations will + * return errors. If `false`, all operations will be carried out in one transaction if and only if + * they are all valid. This should always be set to `true`. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Required. If `true`, successful operations will be carried out and invalid operations will + * return errors. If `false`, all operations will be carried out in one transaction if and only if + * they are all valid. This should always be set to `true`. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If `true`, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If `true`, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest clone() { + return (GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse.java new file mode 100644 index 00000000000..1e21cc0e8f7 --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse.java @@ -0,0 +1,130 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionUploadService.UploadClickConversions. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Job ID for the upload batch. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long jobId; + + /** + * Errors that pertain to conversion failures in the partial failure mode. Returned when all + * errors occur inside the conversions. If any errors occur outside the conversions (for example, + * auth errors), we return an RPC level error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Returned for successfully processed conversions. Proto will be empty for rows that received an + * error. Results are not returned when `validate_only` is `true`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesClickConversionResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesClickConversionResult.class); + } + + /** + * Job ID for the upload batch. + * @return value or {@code null} for none + */ + public java.lang.Long getJobId() { + return jobId; + } + + /** + * Job ID for the upload batch. + * @param jobId jobId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse setJobId(java.lang.Long jobId) { + this.jobId = jobId; + return this; + } + + /** + * Errors that pertain to conversion failures in the partial failure mode. Returned when all + * errors occur inside the conversions. If any errors occur outside the conversions (for example, + * auth errors), we return an RPC level error. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to conversion failures in the partial failure mode. Returned when all + * errors occur inside the conversions. If any errors occur outside the conversions (for example, + * auth errors), we return an RPC level error. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Returned for successfully processed conversions. Proto will be empty for rows that received an + * error. Results are not returned when `validate_only` is `true`. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Returned for successfully processed conversions. Proto will be empty for rows that received an + * error. Results are not returned when `validate_only` is `true`. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse clone() { + return (GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest.java new file mode 100644 index 00000000000..f747471a22b --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest.java @@ -0,0 +1,163 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Request message for ConversionAdjustmentUploadService.UploadConversionAdjustments. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The conversion adjustments that are being uploaded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List conversionAdjustments; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionAdjustment used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionAdjustment.class); + } + + /** + * Optional. Optional input to set job ID. Must be a non-negative number that is less than 2^31 if + * provided. If this field is not provided, the API will generate a job ID in the range [2^31, + * (2^63)-1]. The API will return the value for this request in the `job_id` field of the + * `UploadConversionAdjustmentsResponse`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer jobId; + + /** + * Required. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. This should always be set to true. See https://developers.google.com/google- + * ads/api/docs/best-practices/partial-failures for more information about partial failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialFailure; + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The conversion adjustments that are being uploaded. + * @return value or {@code null} for none + */ + public java.util.List getConversionAdjustments() { + return conversionAdjustments; + } + + /** + * Required. The conversion adjustments that are being uploaded. + * @param conversionAdjustments conversionAdjustments or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest setConversionAdjustments(java.util.List conversionAdjustments) { + this.conversionAdjustments = conversionAdjustments; + return this; + } + + /** + * Optional. Optional input to set job ID. Must be a non-negative number that is less than 2^31 if + * provided. If this field is not provided, the API will generate a job ID in the range [2^31, + * (2^63)-1]. The API will return the value for this request in the `job_id` field of the + * `UploadConversionAdjustmentsResponse`. + * @return value or {@code null} for none + */ + public java.lang.Integer getJobId() { + return jobId; + } + + /** + * Optional. Optional input to set job ID. Must be a non-negative number that is less than 2^31 if + * provided. If this field is not provided, the API will generate a job ID in the range [2^31, + * (2^63)-1]. The API will return the value for this request in the `job_id` field of the + * `UploadConversionAdjustmentsResponse`. + * @param jobId jobId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest setJobId(java.lang.Integer jobId) { + this.jobId = jobId; + return this; + } + + /** + * Required. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. This should always be set to true. See https://developers.google.com/google- + * ads/api/docs/best-practices/partial-failures for more information about partial failure. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialFailure() { + return partialFailure; + } + + /** + * Required. If true, successful operations will be carried out and invalid operations will return + * errors. If false, all operations will be carried out in one transaction if and only if they are + * all valid. This should always be set to true. See https://developers.google.com/google- + * ads/api/docs/best-practices/partial-failures for more information about partial failure. + * @param partialFailure partialFailure or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest setPartialFailure(java.lang.Boolean partialFailure) { + this.partialFailure = partialFailure; + return this; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * If true, the request is validated but not executed. Only errors are returned, not results. + * @param validateOnly validateOnly or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest clone() { + return (GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse.java b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse.java new file mode 100644 index 00000000000..6661a875b0d --- /dev/null +++ b/clients/google-api-services-searchads360/v23/2.0.0/com/google/api/services/searchads360/v23/model/GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse.java @@ -0,0 +1,133 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.searchads360.v23.model; + +/** + * Response message for ConversionAdjustmentUploadService.UploadConversionAdjustments. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse extends com.google.api.client.json.GenericJson { + + /** + * Job ID for the upload batch. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long jobId; + + /** + * Errors that pertain to conversion adjustment failures in the partial failure mode. Returned + * when all errors occur inside the adjustments. If any errors occur outside the adjustments (for + * example, auth errors), we return an RPC level error. See https://developers.google.com/google- + * ads/api/docs/best-practices/partial-failures for more information about partial failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus partialFailureError; + + /** + * Returned for successfully processed conversion adjustments. Proto will be empty for rows that + * received an error. Results are not returned when validate_only is true. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider GoogleAdsSearchads360V23ServicesConversionAdjustmentResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V23ServicesConversionAdjustmentResult.class); + } + + /** + * Job ID for the upload batch. + * @return value or {@code null} for none + */ + public java.lang.Long getJobId() { + return jobId; + } + + /** + * Job ID for the upload batch. + * @param jobId jobId or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse setJobId(java.lang.Long jobId) { + this.jobId = jobId; + return this; + } + + /** + * Errors that pertain to conversion adjustment failures in the partial failure mode. Returned + * when all errors occur inside the adjustments. If any errors occur outside the adjustments (for + * example, auth errors), we return an RPC level error. See https://developers.google.com/google- + * ads/api/docs/best-practices/partial-failures for more information about partial failure. + * @return value or {@code null} for none + */ + public GoogleRpcStatus getPartialFailureError() { + return partialFailureError; + } + + /** + * Errors that pertain to conversion adjustment failures in the partial failure mode. Returned + * when all errors occur inside the adjustments. If any errors occur outside the adjustments (for + * example, auth errors), we return an RPC level error. See https://developers.google.com/google- + * ads/api/docs/best-practices/partial-failures for more information about partial failure. + * @param partialFailureError partialFailureError or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse setPartialFailureError(GoogleRpcStatus partialFailureError) { + this.partialFailureError = partialFailureError; + return this; + } + + /** + * Returned for successfully processed conversion adjustments. Proto will be empty for rows that + * received an error. Results are not returned when validate_only is true. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Returned for successfully processed conversion adjustments. Proto will be empty for rows that + * received an error. Results are not returned when validate_only is true. + * @param results results or {@code null} for none + */ + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse setResults(java.util.List results) { + this.results = results; + return this; + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse set(String fieldName, Object value) { + return (GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse) super.set(fieldName, value); + } + + @Override + public GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse clone() { + return (GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-searchads360/v23/2.0.0/pom.xml b/clients/google-api-services-searchads360/v23/2.0.0/pom.xml index bad2546c537..ed729d5171d 100644 --- a/clients/google-api-services-searchads360/v23/2.0.0/pom.xml +++ b/clients/google-api-services-searchads360/v23/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-searchads360 - v23-rev20260413-2.0.0 - Search Ads 360 Reporting API v23-rev20260413-2.0.0 + v23-rev20260729-2.0.0 + Search Ads 360 Reporting API v23-rev20260729-2.0.0 jar 2011 diff --git a/clients/google-api-services-searchads360/v23/README.md b/clients/google-api-services-searchads360/v23/README.md index 96435150cee..e2963c682f7 100644 --- a/clients/google-api-services-searchads360/v23/README.md +++ b/clients/google-api-services-searchads360/v23/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-searchads360 - v23-rev20260413-2.0.0 + v23-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-searchads360:v23-rev20260413-2.0.0' + implementation 'com.google.apis:google-api-services-searchads360:v23-rev20260729-2.0.0' } ```