Campaign Manager 360 API . advertiserLandingPages

Instance Methods

close()

Close httplib2 connections.

get(profileId, id, x__xgafv=None)

Gets one landing page by ID.

insert(profileId, body=None, x__xgafv=None)

Inserts a new landing page.

list(profileId, maxResults=None, advertiserIds=None, sortOrder=None, archived=None, pageToken=None, ids=None, subaccountId=None, campaignIds=None, sortField=None, searchString=None, x__xgafv=None)

Retrieves a list of landing pages.

list_next(previous_request, previous_response)

Retrieves the next page of results.

patch(profileId, id, body=None, x__xgafv=None)

Updates an existing advertiser landing page. This method supports patch semantics.

update(profileId, body=None, x__xgafv=None)

Updates an existing landing page.

Method Details

close()
Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one landing page by ID.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Landing page ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains information about where a user's browser is taken after the user clicks an ad.
      "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
        { # Contains information about a landing page deep link.
          "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
            "publisherName": "A String", # Publisher name.
            "id": "A String", # ID of this mobile app.
            "title": "A String", # Title of this mobile app.
            "directory": "A String", # Mobile app directory.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
          "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
            "A String",
          ],
          "appUrl": "A String", # The URL of the mobile app being linked to.
          "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
        },
      ],
      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
      "archived": True or False, # Whether this landing page has been archived.
      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
      "url": "A String", # URL of this landing page. This is a required field.
      "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
    }
insert(profileId, body=None, x__xgafv=None)
Inserts a new landing page.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains information about where a user's browser is taken after the user clicks an ad.
    "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
      { # Contains information about a landing page deep link.
        "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
          "publisherName": "A String", # Publisher name.
          "id": "A String", # ID of this mobile app.
          "title": "A String", # Title of this mobile app.
          "directory": "A String", # Mobile app directory.
        },
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
        "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
          "A String",
        ],
        "appUrl": "A String", # The URL of the mobile app being linked to.
        "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
      },
    ],
    "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
    "archived": True or False, # Whether this landing page has been archived.
    "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
    "url": "A String", # URL of this landing page. This is a required field.
    "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
  }

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

Returns:
  An object of the form:

    { # Contains information about where a user's browser is taken after the user clicks an ad.
      "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
        { # Contains information about a landing page deep link.
          "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
            "publisherName": "A String", # Publisher name.
            "id": "A String", # ID of this mobile app.
            "title": "A String", # Title of this mobile app.
            "directory": "A String", # Mobile app directory.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
          "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
            "A String",
          ],
          "appUrl": "A String", # The URL of the mobile app being linked to.
          "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
        },
      ],
      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
      "archived": True or False, # Whether this landing page has been archived.
      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
      "url": "A String", # URL of this landing page. This is a required field.
      "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
    }
list(profileId, maxResults=None, advertiserIds=None, sortOrder=None, archived=None, pageToken=None, ids=None, subaccountId=None, campaignIds=None, sortField=None, searchString=None, x__xgafv=None)
Retrieves a list of landing pages.

Args:
  profileId: string, User profile ID associated with this request. (required)
  maxResults: integer, Maximum number of results to return.
  advertiserIds: string, Select only landing pages that belong to these advertisers. (repeated)
  sortOrder: string, Order of sorted results.
    Allowed values
      ASCENDING - 
      DESCENDING - 
  archived: boolean, Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.
  pageToken: string, Value of the nextPageToken from the previous result page.
  ids: string, Select only landing pages with these IDs. (repeated)
  subaccountId: string, Select only landing pages that belong to this subaccount.
  campaignIds: string, Select only landing pages that are associated with these campaigns. (repeated)
  sortField: string, Field by which to sort the list.
    Allowed values
      ID - 
      NAME - 
  searchString: string, Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, "landingpage*2017" will return landing pages with names like "landingpage July 2017", "landingpage March 2017", or simply "landingpage 2017". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "landingpage" will match campaigns with name "my landingpage", "landingpage 2015", or simply "landingpage".
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Landing Page List Response
    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
    "landingPages": [ # Landing page collection
      { # Contains information about where a user's browser is taken after the user clicks an ad.
          "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
            { # Contains information about a landing page deep link.
              "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
                "publisherName": "A String", # Publisher name.
                "id": "A String", # ID of this mobile app.
                "title": "A String", # Title of this mobile app.
                "directory": "A String", # Mobile app directory.
              },
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
              "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
                "A String",
              ],
              "appUrl": "A String", # The URL of the mobile app being linked to.
              "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
            },
          ],
          "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
          "archived": True or False, # Whether this landing page has been archived.
          "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
          "url": "A String", # URL of this landing page. This is a required field.
          "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
        },
    ],
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserLandingPagesListResponse".
  }
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.
    
patch(profileId, id, body=None, x__xgafv=None)
Updates an existing advertiser landing page. This method supports patch semantics.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, LandingPage ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains information about where a user's browser is taken after the user clicks an ad.
    "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
      { # Contains information about a landing page deep link.
        "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
          "publisherName": "A String", # Publisher name.
          "id": "A String", # ID of this mobile app.
          "title": "A String", # Title of this mobile app.
          "directory": "A String", # Mobile app directory.
        },
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
        "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
          "A String",
        ],
        "appUrl": "A String", # The URL of the mobile app being linked to.
        "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
      },
    ],
    "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
    "archived": True or False, # Whether this landing page has been archived.
    "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
    "url": "A String", # URL of this landing page. This is a required field.
    "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
  }

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

Returns:
  An object of the form:

    { # Contains information about where a user's browser is taken after the user clicks an ad.
      "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
        { # Contains information about a landing page deep link.
          "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
            "publisherName": "A String", # Publisher name.
            "id": "A String", # ID of this mobile app.
            "title": "A String", # Title of this mobile app.
            "directory": "A String", # Mobile app directory.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
          "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
            "A String",
          ],
          "appUrl": "A String", # The URL of the mobile app being linked to.
          "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
        },
      ],
      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
      "archived": True or False, # Whether this landing page has been archived.
      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
      "url": "A String", # URL of this landing page. This is a required field.
      "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
    }
update(profileId, body=None, x__xgafv=None)
Updates an existing landing page.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains information about where a user's browser is taken after the user clicks an ad.
    "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
      { # Contains information about a landing page deep link.
        "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
          "publisherName": "A String", # Publisher name.
          "id": "A String", # ID of this mobile app.
          "title": "A String", # Title of this mobile app.
          "directory": "A String", # Mobile app directory.
        },
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
        "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
          "A String",
        ],
        "appUrl": "A String", # The URL of the mobile app being linked to.
        "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
      },
    ],
    "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
    "archived": True or False, # Whether this landing page has been archived.
    "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
    "url": "A String", # URL of this landing page. This is a required field.
    "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
  }

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

Returns:
  An object of the form:

    { # Contains information about where a user's browser is taken after the user clicks an ad.
      "deepLinks": [ # Links that will direct the user to a mobile app, if installed.
        { # Contains information about a landing page deep link.
          "mobileApp": { # Contains information about a mobile app. Used as a landing page deep link. # The mobile app targeted by this deep link.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileApp".
            "publisherName": "A String", # Publisher name.
            "id": "A String", # ID of this mobile app.
            "title": "A String", # Title of this mobile app.
            "directory": "A String", # Mobile app directory.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#deepLink".
          "remarketingListIds": [ # Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.
            "A String",
          ],
          "appUrl": "A String", # The URL of the mobile app being linked to.
          "fallbackUrl": "A String", # The fallback URL. This URL will be served to users who do not have the mobile app installed.
        },
      ],
      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
      "archived": True or False, # Whether this landing page has been archived.
      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long.
      "url": "A String", # URL of this landing page. This is a required field.
      "advertiserId": "A String", # Advertiser ID of this landing page. This is a required field.
    }