This example adds a Smart Display campaign, an ad group and a responsive display ad. More information about Smart Display campaigns can be found at

IMPORTANT: The AssetService requires you to reuse what you've uploaded previously. Therefore, you cannot create an image asset with the exactly same bytes. In case you want to run this example more than once, note down the created assets' resource names and specify them as command-line arguments for marketing and square marketing images.

Alternatively, you can modify the image URLs' constants directly to use other images.

SYNOPSIS [options]

    -help                                           Show the help message.
    -customer_id                                    The Google Ads customer ID.
    -marketing_image_asset_resource_name            [optional] The resource name of marketing image asset.
    -square_marketing_image_asset_resource_name     [optional] The resource name of square marketing image asset.