CData Python Connector for Yahoo! Ads

Build 24.0.9062

DisplayAdsLabels

Create, Read, Update or Delete information of label.

Table Specific Information

SELECT

The 本製品 will use the Yahoo! Ads API to process WHERE clause conditions built with the following column and operator. The AccountId is required to make a request and the rest of the filter is executed client-side within the 本製品.Note: AccountId is required for select on this table.

  • AccountId supports the '='.
  • LabelId supports the '=,IN'.

For example:

SELECT * from DisplayAdsLabels WHERE AccountId = '1234'

SELECT * from DisplayAdsLabels WHERE AccountId = '1234' AND LabelId = '266841'

INSERT

Insert can be executed by specifying the AccountId and LabelName columns. The columns that are not read-only can be inserted optionally. Following is an example of how to insert into this table.

INSERT INTO DisplayAdsLabels (AccountId,LabelName) VALUES ('1234','New label') 

UPDATE

Update can be executed by specifying the AccountId and LabelId in the WHERE Clause. The columns that are not read-only can be Updated. For example:

UPDATE DisplayAdsLabels SET Color='#FFFFFF' WHERE AccountId = '1002504155' AND LabelId = '266841'

DELETE

Delete can be executed by specifying the AccountId and LabelId in the WHERE Clause. For example:

DELETE DisplayAdsLabels WHERE AccountId = '1234' AND LabelId = '266841'

Columns

Name Type ReadOnly References Description
LabelId [KEY] Int64 True

Label ID.

AccountId Int64 True

DisplayAdsAccounts.AccountId

Account ID.

Color String False

Color.

Description String False

Description.

LabelName String False

Label Name.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062