The base class of all ad types. Ad objects themselves cannot be modified. If you
want to make a change to an Ad
object, you must REMOVE its AdGroupAd and ADD a new AdGroupAd with
the new Ad. This will result in
a new Ad ID, so stats for the
original Ad and the new
Ad will appear under separate
IDs in reports.
When calling AdGroupAdService
to update the status of an
AdGroupAd, you can construct an
Ad object (instead of the
Ad's concrete type) with the
id field set.
This is enabled for
AdX.
- Namespace
-
https://adwords.google.com/api/adwords/cm/v201506 - Fields
| Field | Type | Description |
|---|---|---|
| id |
xsd:long
|
ID of this ad. This field is ignored when creating
ads using AdGroupAdService.
|
| url |
xsd:string
|
Destination URL.
Do not set this field if you are using upgraded URLs, as described at: https://developers.google.com/adwords/api/docs/guides/upgraded-urls |
| displayUrl |
xsd:string
|
Visible URL. |
| finalUrls CollectionSize
|
xsd:string[]
|
A list of possible final URLs after all cross domain redirects.
This field is used for upgraded urls only, as described at: https://developers.google.com/adwords/api/docs/guides/upgraded-urls The maximum size of this collection is 10. |
| finalMobileUrls CollectionSize
|
xsd:string[]
|
A list of possible final mobile URLs after all cross domain
redirects.
This field is used for upgraded urls only, as described at: https://developers.google.com/adwords/api/docs/guides/upgraded-urls The maximum size of this collection is 10. |
| finalAppUrls |
AppUrl[]
|
A list of final app URLs that will be used on mobile if the user
has the specific app installed.
This field is used for upgraded urls only, as described at: https://developers.google.com/adwords/api/docs/guides/upgraded-urls |
| trackingUrlTemplate |
xsd:string
|
URL template for constructing a tracking URL.
This field is used for upgraded urls only, as described at: https://developers.google.com/adwords/api/docs/guides/upgraded-urls |
| urlCustomParameters |
CustomParameters
|
A list of mappings to be used for substituting URL custom parameter
tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls.
This field is used for upgraded urls only, as described at: https://developers.google.com/adwords/api/docs/guides/upgraded-urls |
| devicePreference |
xsd:long
|
The device preference for the ad. |
| Ad.Type |
xsd:string
|
Indicates that this instance is a subtype of Ad. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead. |