CData Python Connector for Yahoo! Ads

Build 24.0.9062

SearchAdsLabels

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 本製品.

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

For example:

SELECT * FROM SearchAdsLabels WHERE AccountId = '12346'

SELECT * FROM SearchAdsLabels WHERE AccountId = '12346' AND LabelId = '26894'

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 SearchAdsLabels (AccountId,LabelName) VALUES ('12346','Lable1')

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 SearchAdsLabels SET Color = '#0000FF', LabeledAdGroupCriterion = '1' WHERE AccountId = '1234' AND LabelId = '4598723';

DELETE

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

DELETE FROM SearchAdsLabels WHERE AccountId = '1234' AND LabelId = '15684'

Columns

Name Type ReadOnly References Description
LabelId [KEY] Int64 True

Label ID.

AccountId Int64 True

SearchAdsAccounts.AccountId

Account ID.

Color String False

Color code.e.g #FFFFFF

Description String False

Description.

LabeledAdGroup Int64 False

Number of labeled AdGroup.

LabeledAdGroupAd Int64 False

Number of labeled AdGroupAd.

LabeledAdGroupCriterion Int64 False

Number of labeled Ad Group Criterion.

LabeledCampaign Int64 False

Number of labeled Campaign.

LabelName String False

Label Name.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CountLabeledEntity String

Setting of Label number count flag.

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