# Ad Exchange Buyer API II . accounts . creatives

## Instance Methods

Returns the dealAssociations Resource.

Close httplib2 connections.

Creates a creative.

Gets a creative.

Lists creatives.

Retrieves the next page of results.

Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.

Updates a creative.

Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.

### Method Details

`close()`

    Close httplib2 connections.

`create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)`

    Creates a creative.

    Args:
      accountId: string, The account that this creative belongs to. Can be used to filter the response of the creatives.list method. (required)
      body: object, The request body.
        The object takes the form of:

    { # A creative and its classification data.
        "html": { # HTML content for a creative. # An HTML creative.
          "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
          "height": 42, # The height of the HTML snippet in pixels.
          "width": 42, # The width of the HTML snippet in pixels.
        },
        "version": 42, # Output only. The version of this creative.
        "detectedLanguages": [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
          "A String",
        ],
        "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
          "A String",
        ],
        "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
        "detectedDomains": [ # Output only. The detected domains for this creative.
          "A String",
        ],
        "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
          { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
            "status": "A String", # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
            "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
              "details": [ # Additional details about the reason for disapproval.
                "A String",
              ],
              "reason": "A String", # The categorized reason for disapproval.
            },
            "contexts": [ # The contexts for the restriction.
              { # The serving context for this restriction.
                "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                  "platforms": [ # The platforms this restriction applies to.
                    "A String",
                  ],
                },
                "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                  "securities": [ # The security types in this context.
                    "A String",
                  ],
                },
                "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                  "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                    42,
                  ],
                },
                "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                  "auctionTypes": [ # The auction types this restriction applies to.
                    "A String",
                  ],
                },
                "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                  "appTypes": [ # The app types this restriction applies to.
                    "A String",
                  ],
                },
                "all": "A String", # Matches all contexts.
              },
            ],
            "disapprovalReasons": [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
              { # Output only. The reason and details for a disapproval.
                "details": [ # Additional details about the reason for disapproval.
                  "A String",
                ],
                "reason": "A String", # The categorized reason for disapproval.
              },
            ],
          },
        ],
        "attributes": [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
          "A String",
        ],
        "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
          42,
        ],
        "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative. If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
        "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
          "A String",
        ],
        "creativeId": "A String", # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
        "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
        "advertiserName": "A String", # The name of the company being advertised in the creative.
        "agencyId": "A String", # The agency ID for this creative.
        "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
          42,
        ],
        "corrections": [ # Output only. Shows any corrections that were applied to this creative.
          { # Output only. Shows any corrections that were applied to this creative.
            "contexts": [ # The contexts for the correction.
              { # The serving context for this restriction.
                "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                  "platforms": [ # The platforms this restriction applies to.
                    "A String",
                  ],
                },
                "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                  "securities": [ # The security types in this context.
                    "A String",
                  ],
                },
                "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                  "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                    42,
                  ],
                },
                "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                  "auctionTypes": [ # The auction types this restriction applies to.
                    "A String",
                  ],
                },
                "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                  "appTypes": [ # The app types this restriction applies to.
                    "A String",
                  ],
                },
                "all": "A String", # Matches all contexts.
              },
            ],
            "type": "A String", # The type of correction that was applied to the creative.
            "details": [ # Additional details about what was corrected.
              "A String",
            ],
          },
        ],
        "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
          "detectedProviderIds": [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
            "A String",
          ],
          "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
        },
        "native": { # Native content for a creative. # A native creative.
          "clickTrackingUrl": "A String", # The URL to use for click tracking.
          "logo": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser's logo.
            "height": 42, # Image height in pixels.
            "url": "A String", # The URL of the image.
            "width": 42, # Image width in pixels.
          },
          "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
          "appIcon": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
            "height": 42, # Image height in pixels.
            "url": "A String", # The URL of the image.
            "width": 42, # Image width in pixels.
          },
          "callToAction": "A String", # A label for the button that the user is supposed to click.
          "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
          "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
          "image": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
            "height": 42, # Image height in pixels.
            "url": "A String", # The URL of the image.
            "width": 42, # Image width in pixels.
          },
          "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
          "videoUrl": "A String", # The URL to fetch a native video ad.
          "body": "A String", # A long description of the ad.
          "priceDisplayText": "A String", # The price of the promoted app including currency info.
          "headline": "A String", # A short title for the ad.
        },
        "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
          "A String",
        ],
        "clickThroughUrls": [ # The set of destination URLs for the creative.
          "A String",
        ],
        "detectedProductCategories": [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
          42,
        ],
        "accountId": "A String", # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
        "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
          "A String",
        ],
        "video": { # Video content for a creative. # A video creative.
          "videoVastXml": "A String", # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
          "videoUrl": "A String", # The URL to fetch a video ad.
        },
        "dealsStatus": "A String", # Output only. The top-level deals status of this creative. If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
      }

      duplicateIdMode: string, Indicates if multiple creatives can share an ID or not. Default is NO_DUPLICATES (one ID per creative).
        Allowed values
          NO_DUPLICATES - Recommended. This means that an ID will be unique to a single creative. Multiple creatives will not share an ID.
          FORCE_ENABLE_DUPLICATE_IDS - Not recommended. Using this option will allow multiple creatives to share the same ID. Get and Update requests will not be possible for any ID that has more than one creative associated. (List will still function.) This is only intended for backwards compatibility in cases where a single ID is already shared by multiple creatives from previous APIs.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A creative and its classification data.
          "html": { # HTML content for a creative. # An HTML creative.
            "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
            "height": 42, # The height of the HTML snippet in pixels.
            "width": 42, # The width of the HTML snippet in pixels.
          },
          "version": 42, # Output only. The version of this creative.
          "detectedLanguages": [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
            "A String",
          ],
          "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
            "A String",
          ],
          "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
          "detectedDomains": [ # Output only. The detected domains for this creative.
            "A String",
          ],
          "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
            { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
              "status": "A String", # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
              "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
                "details": [ # Additional details about the reason for disapproval.
                  "A String",
                ],
                "reason": "A String", # The categorized reason for disapproval.
              },
              "contexts": [ # The contexts for the restriction.
                { # The serving context for this restriction.
                  "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                    "platforms": [ # The platforms this restriction applies to.
                      "A String",
                    ],
                  },
                  "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                    "securities": [ # The security types in this context.
                      "A String",
                    ],
                  },
                  "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                    "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                      42,
                    ],
                  },
                  "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                    "auctionTypes": [ # The auction types this restriction applies to.
                      "A String",
                    ],
                  },
                  "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                    "appTypes": [ # The app types this restriction applies to.
                      "A String",
                    ],
                  },
                  "all": "A String", # Matches all contexts.
                },
              ],
              "disapprovalReasons": [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
                { # Output only. The reason and details for a disapproval.
                  "details": [ # Additional details about the reason for disapproval.
                    "A String",
                  ],
                  "reason": "A String", # The categorized reason for disapproval.
                },
              ],
            },
          ],
          "attributes": [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
            "A String",
          ],
          "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
            42,
          ],
          "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative. If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
          "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
            "A String",
          ],
          "creativeId": "A String", # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
          "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
          "advertiserName": "A String", # The name of the company being advertised in the creative.
          "agencyId": "A String", # The agency ID for this creative.
          "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
            42,
          ],
          "corrections": [ # Output only. Shows any corrections that were applied to this creative.
            { # Output only. Shows any corrections that were applied to this creative.
              "contexts": [ # The contexts for the correction.
                { # The serving context for this restriction.
                  "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                    "platforms": [ # The platforms this restriction applies to.
                      "A String",
                    ],
                  },
                  "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                    "securities": [ # The security types in this context.
                      "A String",
                    ],
                  },
                  "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                    "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                      42,
                    ],
                  },
                  "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                    "auctionTypes": [ # The auction types this restriction applies to.
                      "A String",
                    ],
                  },
                  "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                    "appTypes": [ # The app types this restriction applies to.
                      "A String",
                    ],
                  },
                  "all": "A String", # Matches all contexts.
                },
              ],
              "type": "A String", # The type of correction that was applied to the creative.
              "details": [ # Additional details about what was corrected.
                "A String",
              ],
            },
          ],
          "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
            "detectedProviderIds": [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
              "A String",
            ],
            "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
          },
          "native": { # Native content for a creative. # A native creative.
            "clickTrackingUrl": "A String", # The URL to use for click tracking.
            "logo": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser's logo.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
            "appIcon": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "callToAction": "A String", # A label for the button that the user is supposed to click.
            "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
            "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
            "image": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
            "videoUrl": "A String", # The URL to fetch a native video ad.
            "body": "A String", # A long description of the ad.
            "priceDisplayText": "A String", # The price of the promoted app including currency info.
            "headline": "A String", # A short title for the ad.
          },
          "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
            "A String",
          ],
          "clickThroughUrls": [ # The set of destination URLs for the creative.
            "A String",
          ],
          "detectedProductCategories": [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
            42,
          ],
          "accountId": "A String", # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
          "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
            "A String",
          ],
          "video": { # Video content for a creative. # A video creative.
            "videoVastXml": "A String", # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
            "videoUrl": "A String", # The URL to fetch a video ad.
          },
          "dealsStatus": "A String", # Output only. The top-level deals status of this creative. If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
        }

`get(accountId, creativeId, x__xgafv=None)`

    Gets a creative.

    Args:
      accountId: string, The account the creative belongs to. (required)
      creativeId: string, The ID of the creative to retrieve. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A creative and its classification data.
          "html": { # HTML content for a creative. # An HTML creative.
            "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
            "height": 42, # The height of the HTML snippet in pixels.
            "width": 42, # The width of the HTML snippet in pixels.
          },
          "version": 42, # Output only. The version of this creative.
          "detectedLanguages": [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
            "A String",
          ],
          "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
            "A String",
          ],
          "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
          "detectedDomains": [ # Output only. The detected domains for this creative.
            "A String",
          ],
          "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
            { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
              "status": "A String", # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
              "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
                "details": [ # Additional details about the reason for disapproval.
                  "A String",
                ],
                "reason": "A String", # The categorized reason for disapproval.
              },
              "contexts": [ # The contexts for the restriction.
                { # The serving context for this restriction.
                  "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                    "platforms": [ # The platforms this restriction applies to.
                      "A String",
                    ],
                  },
                  "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                    "securities": [ # The security types in this context.
                      "A String",
                    ],
                  },
                  "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                    "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                      42,
                    ],
                  },
                  "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                    "auctionTypes": [ # The auction types this restriction applies to.
                      "A String",
                    ],
                  },
                  "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                    "appTypes": [ # The app types this restriction applies to.
                      "A String",
                    ],
                  },
                  "all": "A String", # Matches all contexts.
                },
              ],
              "disapprovalReasons": [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
                { # Output only. The reason and details for a disapproval.
                  "details": [ # Additional details about the reason for disapproval.
                    "A String",
                  ],
                  "reason": "A String", # The categorized reason for disapproval.
                },
              ],
            },
          ],
          "attributes": [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
            "A String",
          ],
          "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
            42,
          ],
          "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative. If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
          "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
            "A String",
          ],
          "creativeId": "A String", # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
          "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
          "advertiserName": "A String", # The name of the company being advertised in the creative.
          "agencyId": "A String", # The agency ID for this creative.
          "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
            42,
          ],
          "corrections": [ # Output only. Shows any corrections that were applied to this creative.
            { # Output only. Shows any corrections that were applied to this creative.
              "contexts": [ # The contexts for the correction.
                { # The serving context for this restriction.
                  "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                    "platforms": [ # The platforms this restriction applies to.
                      "A String",
                    ],
                  },
                  "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                    "securities": [ # The security types in this context.
                      "A String",
                    ],
                  },
                  "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                    "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                      42,
                    ],
                  },
                  "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                    "auctionTypes": [ # The auction types this restriction applies to.
                      "A String",
                    ],
                  },
                  "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                    "appTypes": [ # The app types this restriction applies to.
                      "A String",
                    ],
                  },
                  "all": "A String", # Matches all contexts.
                },
              ],
              "type": "A String", # The type of correction that was applied to the creative.
              "details": [ # Additional details about what was corrected.
                "A String",
              ],
            },
          ],
          "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
            "detectedProviderIds": [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
              "A String",
            ],
            "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
          },
          "native": { # Native content for a creative. # A native creative.
            "clickTrackingUrl": "A String", # The URL to use for click tracking.
            "logo": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser's logo.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
            "appIcon": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "callToAction": "A String", # A label for the button that the user is supposed to click.
            "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
            "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
            "image": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
            "videoUrl": "A String", # The URL to fetch a native video ad.
            "body": "A String", # A long description of the ad.
            "priceDisplayText": "A String", # The price of the promoted app including currency info.
            "headline": "A String", # A short title for the ad.
          },
          "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
            "A String",
          ],
          "clickThroughUrls": [ # The set of destination URLs for the creative.
            "A String",
          ],
          "detectedProductCategories": [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
            42,
          ],
          "accountId": "A String", # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
          "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
            "A String",
          ],
          "video": { # Video content for a creative. # A video creative.
            "videoVastXml": "A String", # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
            "videoUrl": "A String", # The URL to fetch a video ad.
          },
          "dealsStatus": "A String", # Output only. The top-level deals status of this creative. If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
        }

`list(accountId, pageSize=None, pageToken=None, query=None, x__xgafv=None)`

    Lists creatives.

    Args:
      accountId: string, The account to list the creatives from. Specify "-" to list all creatives the current user has access to. (required)
      pageSize: integer, Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.
      pageToken: string, A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.next_page_token returned from the previous call to 'ListCreatives' method.
      query: string, An optional query string to filter creatives. If no filter is specified, all active creatives will be returned. Supported queries are: - accountId=*account_id_string* - creativeId=*creative_id_string* - dealsStatus: {approved, conditionally_approved, disapproved, not_checked} - openAuctionStatus: {approved, conditionally_approved, disapproved, not_checked} - attribute: {a numeric attribute from the list of attributes} - disapprovalReason: {a reason from DisapprovalReason} Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47'
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A response for listing creatives.
        "nextPageToken": "A String", # A token to retrieve the next page of results. Pass this value in the ListCreativesRequest.page_token field in the subsequent call to `ListCreatives` method to retrieve the next page of results.
        "creatives": [ # The list of creatives.
          { # A creative and its classification data.
              "html": { # HTML content for a creative. # An HTML creative.
                "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
                "height": 42, # The height of the HTML snippet in pixels.
                "width": 42, # The width of the HTML snippet in pixels.
              },
              "version": 42, # Output only. The version of this creative.
              "detectedLanguages": [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
                "A String",
              ],
              "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
                "A String",
              ],
              "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
              "detectedDomains": [ # Output only. The detected domains for this creative.
                "A String",
              ],
              "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
                { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
                  "status": "A String", # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
                  "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
                    "details": [ # Additional details about the reason for disapproval.
                      "A String",
                    ],
                    "reason": "A String", # The categorized reason for disapproval.
                  },
                  "contexts": [ # The contexts for the restriction.
                    { # The serving context for this restriction.
                      "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                        "platforms": [ # The platforms this restriction applies to.
                          "A String",
                        ],
                      },
                      "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                        "securities": [ # The security types in this context.
                          "A String",
                        ],
                      },
                      "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                        "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                          42,
                        ],
                      },
                      "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                        "auctionTypes": [ # The auction types this restriction applies to.
                          "A String",
                        ],
                      },
                      "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                        "appTypes": [ # The app types this restriction applies to.
                          "A String",
                        ],
                      },
                      "all": "A String", # Matches all contexts.
                    },
                  ],
                  "disapprovalReasons": [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
                    { # Output only. The reason and details for a disapproval.
                      "details": [ # Additional details about the reason for disapproval.
                        "A String",
                      ],
                      "reason": "A String", # The categorized reason for disapproval.
                    },
                  ],
                },
              ],
              "attributes": [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
                "A String",
              ],
              "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
                42,
              ],
              "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative. If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
              "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
                "A String",
              ],
              "creativeId": "A String", # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
              "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
              "advertiserName": "A String", # The name of the company being advertised in the creative.
              "agencyId": "A String", # The agency ID for this creative.
              "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
                42,
              ],
              "corrections": [ # Output only. Shows any corrections that were applied to this creative.
                { # Output only. Shows any corrections that were applied to this creative.
                  "contexts": [ # The contexts for the correction.
                    { # The serving context for this restriction.
                      "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                        "platforms": [ # The platforms this restriction applies to.
                          "A String",
                        ],
                      },
                      "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                        "securities": [ # The security types in this context.
                          "A String",
                        ],
                      },
                      "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                        "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                          42,
                        ],
                      },
                      "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                        "auctionTypes": [ # The auction types this restriction applies to.
                          "A String",
                        ],
                      },
                      "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                        "appTypes": [ # The app types this restriction applies to.
                          "A String",
                        ],
                      },
                      "all": "A String", # Matches all contexts.
                    },
                  ],
                  "type": "A String", # The type of correction that was applied to the creative.
                  "details": [ # Additional details about what was corrected.
                    "A String",
                  ],
                },
              ],
              "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
                "detectedProviderIds": [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
                  "A String",
                ],
                "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
              },
              "native": { # Native content for a creative. # A native creative.
                "clickTrackingUrl": "A String", # The URL to use for click tracking.
                "logo": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser's logo.
                  "height": 42, # Image height in pixels.
                  "url": "A String", # The URL of the image.
                  "width": 42, # Image width in pixels.
                },
                "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
                "appIcon": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
                  "height": 42, # Image height in pixels.
                  "url": "A String", # The URL of the image.
                  "width": 42, # Image width in pixels.
                },
                "callToAction": "A String", # A label for the button that the user is supposed to click.
                "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
                "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
                "image": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
                  "height": 42, # Image height in pixels.
                  "url": "A String", # The URL of the image.
                  "width": 42, # Image width in pixels.
                },
                "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
                "videoUrl": "A String", # The URL to fetch a native video ad.
                "body": "A String", # A long description of the ad.
                "priceDisplayText": "A String", # The price of the promoted app including currency info.
                "headline": "A String", # A short title for the ad.
              },
              "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
                "A String",
              ],
              "clickThroughUrls": [ # The set of destination URLs for the creative.
                "A String",
              ],
              "detectedProductCategories": [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
                42,
              ],
              "accountId": "A String", # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
              "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
                "A String",
              ],
              "video": { # Video content for a creative. # A video creative.
                "videoVastXml": "A String", # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
                "videoUrl": "A String", # The URL to fetch a video ad.
              },
              "dealsStatus": "A String", # Output only. The top-level deals status of this creative. If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
            },
        ],
      }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.

`stopWatching(accountId, creativeId, body=None, x__xgafv=None)`

    Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.

    Args:
      accountId: string, The account of the creative to stop notifications for. (required)
      creativeId: string, The creative ID of the creative to stop notifications for. Specify "-" to specify stopping account level notifications. (required)
      body: object, The request body.
        The object takes the form of:

    { # A request for stopping notifications for changes to creative Status.
      }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
      }

`update(accountId, creativeId, body=None, x__xgafv=None)`

    Updates a creative.

    Args:
      accountId: string, The account that this creative belongs to. Can be used to filter the response of the creatives.list method. (required)
      creativeId: string, The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method. (required)
      body: object, The request body.
        The object takes the form of:

    { # A creative and its classification data.
        "html": { # HTML content for a creative. # An HTML creative.
          "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
          "height": 42, # The height of the HTML snippet in pixels.
          "width": 42, # The width of the HTML snippet in pixels.
        },
        "version": 42, # Output only. The version of this creative.
        "detectedLanguages": [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
          "A String",
        ],
        "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
          "A String",
        ],
        "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
        "detectedDomains": [ # Output only. The detected domains for this creative.
          "A String",
        ],
        "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
          { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
            "status": "A String", # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
            "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
              "details": [ # Additional details about the reason for disapproval.
                "A String",
              ],
              "reason": "A String", # The categorized reason for disapproval.
            },
            "contexts": [ # The contexts for the restriction.
              { # The serving context for this restriction.
                "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                  "platforms": [ # The platforms this restriction applies to.
                    "A String",
                  ],
                },
                "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                  "securities": [ # The security types in this context.
                    "A String",
                  ],
                },
                "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                  "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                    42,
                  ],
                },
                "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                  "auctionTypes": [ # The auction types this restriction applies to.
                    "A String",
                  ],
                },
                "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                  "appTypes": [ # The app types this restriction applies to.
                    "A String",
                  ],
                },
                "all": "A String", # Matches all contexts.
              },
            ],
            "disapprovalReasons": [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
              { # Output only. The reason and details for a disapproval.
                "details": [ # Additional details about the reason for disapproval.
                  "A String",
                ],
                "reason": "A String", # The categorized reason for disapproval.
              },
            ],
          },
        ],
        "attributes": [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
          "A String",
        ],
        "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
          42,
        ],
        "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative. If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
        "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
          "A String",
        ],
        "creativeId": "A String", # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
        "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
        "advertiserName": "A String", # The name of the company being advertised in the creative.
        "agencyId": "A String", # The agency ID for this creative.
        "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
          42,
        ],
        "corrections": [ # Output only. Shows any corrections that were applied to this creative.
          { # Output only. Shows any corrections that were applied to this creative.
            "contexts": [ # The contexts for the correction.
              { # The serving context for this restriction.
                "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                  "platforms": [ # The platforms this restriction applies to.
                    "A String",
                  ],
                },
                "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                  "securities": [ # The security types in this context.
                    "A String",
                  ],
                },
                "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                  "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                    42,
                  ],
                },
                "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                  "auctionTypes": [ # The auction types this restriction applies to.
                    "A String",
                  ],
                },
                "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                  "appTypes": [ # The app types this restriction applies to.
                    "A String",
                  ],
                },
                "all": "A String", # Matches all contexts.
              },
            ],
            "type": "A String", # The type of correction that was applied to the creative.
            "details": [ # Additional details about what was corrected.
              "A String",
            ],
          },
        ],
        "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
          "detectedProviderIds": [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
            "A String",
          ],
          "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
        },
        "native": { # Native content for a creative. # A native creative.
          "clickTrackingUrl": "A String", # The URL to use for click tracking.
          "logo": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser's logo.
            "height": 42, # Image height in pixels.
            "url": "A String", # The URL of the image.
            "width": 42, # Image width in pixels.
          },
          "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
          "appIcon": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
            "height": 42, # Image height in pixels.
            "url": "A String", # The URL of the image.
            "width": 42, # Image width in pixels.
          },
          "callToAction": "A String", # A label for the button that the user is supposed to click.
          "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
          "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
          "image": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
            "height": 42, # Image height in pixels.
            "url": "A String", # The URL of the image.
            "width": 42, # Image width in pixels.
          },
          "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
          "videoUrl": "A String", # The URL to fetch a native video ad.
          "body": "A String", # A long description of the ad.
          "priceDisplayText": "A String", # The price of the promoted app including currency info.
          "headline": "A String", # A short title for the ad.
        },
        "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
          "A String",
        ],
        "clickThroughUrls": [ # The set of destination URLs for the creative.
          "A String",
        ],
        "detectedProductCategories": [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
          42,
        ],
        "accountId": "A String", # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
        "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
          "A String",
        ],
        "video": { # Video content for a creative. # A video creative.
          "videoVastXml": "A String", # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
          "videoUrl": "A String", # The URL to fetch a video ad.
        },
        "dealsStatus": "A String", # Output only. The top-level deals status of this creative. If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
      }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A creative and its classification data.
          "html": { # HTML content for a creative. # An HTML creative.
            "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
            "height": 42, # The height of the HTML snippet in pixels.
            "width": 42, # The width of the HTML snippet in pixels.
          },
          "version": 42, # Output only. The version of this creative.
          "detectedLanguages": [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
            "A String",
          ],
          "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
            "A String",
          ],
          "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
          "detectedDomains": [ # Output only. The detected domains for this creative.
            "A String",
          ],
          "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
            { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
              "status": "A String", # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
              "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
                "details": [ # Additional details about the reason for disapproval.
                  "A String",
                ],
                "reason": "A String", # The categorized reason for disapproval.
              },
              "contexts": [ # The contexts for the restriction.
                { # The serving context for this restriction.
                  "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                    "platforms": [ # The platforms this restriction applies to.
                      "A String",
                    ],
                  },
                  "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                    "securities": [ # The security types in this context.
                      "A String",
                    ],
                  },
                  "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                    "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                      42,
                    ],
                  },
                  "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                    "auctionTypes": [ # The auction types this restriction applies to.
                      "A String",
                    ],
                  },
                  "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                    "appTypes": [ # The app types this restriction applies to.
                      "A String",
                    ],
                  },
                  "all": "A String", # Matches all contexts.
                },
              ],
              "disapprovalReasons": [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
                { # Output only. The reason and details for a disapproval.
                  "details": [ # Additional details about the reason for disapproval.
                    "A String",
                  ],
                  "reason": "A String", # The categorized reason for disapproval.
                },
              ],
            },
          ],
          "attributes": [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
            "A String",
          ],
          "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
            42,
          ],
          "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative. If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
          "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
            "A String",
          ],
          "creativeId": "A String", # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
          "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
          "advertiserName": "A String", # The name of the company being advertised in the creative.
          "agencyId": "A String", # The agency ID for this creative.
          "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
            42,
          ],
          "corrections": [ # Output only. Shows any corrections that were applied to this creative.
            { # Output only. Shows any corrections that were applied to this creative.
              "contexts": [ # The contexts for the correction.
                { # The serving context for this restriction.
                  "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
                    "platforms": [ # The platforms this restriction applies to.
                      "A String",
                    ],
                  },
                  "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
                    "securities": [ # The security types in this context.
                      "A String",
                    ],
                  },
                  "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
                    "geoCriteriaIds": [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
                      42,
                    ],
                  },
                  "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
                    "auctionTypes": [ # The auction types this restriction applies to.
                      "A String",
                    ],
                  },
                  "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
                    "appTypes": [ # The app types this restriction applies to.
                      "A String",
                    ],
                  },
                  "all": "A String", # Matches all contexts.
                },
              ],
              "type": "A String", # The type of correction that was applied to the creative.
              "details": [ # Additional details about what was corrected.
                "A String",
              ],
            },
          ],
          "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
            "detectedProviderIds": [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
              "A String",
            ],
            "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
          },
          "native": { # Native content for a creative. # A native creative.
            "clickTrackingUrl": "A String", # The URL to use for click tracking.
            "logo": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser's logo.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
            "appIcon": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "callToAction": "A String", # A label for the button that the user is supposed to click.
            "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
            "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
            "image": { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
              "height": 42, # Image height in pixels.
              "url": "A String", # The URL of the image.
              "width": 42, # Image width in pixels.
            },
            "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
            "videoUrl": "A String", # The URL to fetch a native video ad.
            "body": "A String", # A long description of the ad.
            "priceDisplayText": "A String", # The price of the promoted app including currency info.
            "headline": "A String", # A short title for the ad.
          },
          "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
            "A String",
          ],
          "clickThroughUrls": [ # The set of destination URLs for the creative.
            "A String",
          ],
          "detectedProductCategories": [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
            42,
          ],
          "accountId": "A String", # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
          "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
            "A String",
          ],
          "video": { # Video content for a creative. # A video creative.
            "videoVastXml": "A String", # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
            "videoUrl": "A String", # The URL to fetch a video ad.
          },
          "dealsStatus": "A String", # Output only. The top-level deals status of this creative. If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
        }

`watch(accountId, creativeId, body=None, x__xgafv=None)`

    Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.

    Args:
      accountId: string, The account of the creative to watch. (required)
      creativeId: string, The creative ID to watch for status changes. Specify "-" to watch all creatives under the above account. If both creative-level and account-level notifications are sent, only a single notification will be sent to the creative-level notification topic. (required)
      body: object, The request body.
        The object takes the form of:

    { # A request for watching changes to creative Status.
        "topic": "A String", # The Pub/Sub topic to publish notifications to. This topic must already exist and must give permission to ad-exchange-buyside-reports@google.com to write to the topic. This should be the full resource name in "projects/{project_id}/topics/{topic_id}" format.
      }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
      }