NAME

add_smart_display_ad

DESCRIPTION

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 https://support.google.com/google-ads/answer/7020281.

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' IDs 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

add_smart_display_ad.pl [options]

-help                                Show the help message.
-customer_id                         The Google Ads customer ID.
-marketing_image_asset_id            [optional] The ID of marketing image asset.
-square_marketing_image_asset_id     [optional] The ID of square marketing image asset.