CData Python Connector for Yahoo! Ads

Build 22.0.8479

DisplayAdsAdGroups

Create, Read, Update or Delete Ad group

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 The rest of the filter is executed client side within the 本製品.

  • AdGroupId supports the '=,IN'.
  • AccountId supports the '='.
  • CampaignId supports the '=,IN'.
  • UserStatus supports the '=,IN'.
  • CampaignGoalFilterType supports the '='.
  • ContainsLabelIdFlg supports the '='.
  • LabelId supports the '=,IN'.
  • StartDate supports the '='.
  • EndDate supports the '='.
For example:
SELECT * FROM DisplayAdsAdGroups WHERE AccountId = '1002504155'

SELECT * FROM DisplayAdsAdGroups WHERE AccountId = '1002504155' AND AdGroupId = '437264177'

INSERT

Insert can be executed by specifying the AccountId, AdGroupId, AdType, Name, CampaignId, UserStatus 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 DisplayAdsAdGroups (AdGroupName, AccountId, CampaignId,device,UserStatus,DeviceApp,DeviceOs) values('Testgroup','1002504155','30799754','SMARTPHONE','ACTIVE','APP','ANDROID');

UPDATE

Update can be executed by specifying the AccountId, AdGroupId AND CampaignId,AdId,UserStatus in the WHERE Clause. The columns that are not read-only can be Updated. For example:

UPDATE DisplayAdsAdGroups SET AdGroupName = 'NewTest' WHERE AccountId = '1002504155' AND CampaignId = '30799754' AND AdGroupId = '437264190' AND UserStatus = 'ACTIVE'

DELETE

Delete can be executed by specifying the AccountId, AdGroupId, CampaignId, AdId and UserStatus in the WHERE Clause. For example:

DELETE FROM DisplayAdsAdGroups WHERE AccountId = '1002504155' AND CampaignId = '30799754' AND AdGroupId = '437264190' AND UserStatus = 'ACTIVE'

Columns

Name Type ReadOnly References Description
AdGroupId [KEY] Int64 True

Ad group ID.

AdGroupName String False

Ad group name.

AccountId Int64 True

DisplayAdsAccounts.AccountId

Account ID.

CampaignBiddingStrategyType String False

Campaign bid strategy type.

使用できる値は次のとおりです。AUTO, MAX_VCPM, MAX_CPC, MAX_CPV, TARGET_CPA, NONE, UNKNOWN

CpcBidValue Int64 False

Ad group MAX_CPC bid value.

CpvBidValue Int64 False

Ad group MAX_CPV bid value.

VcpmBidValue Int64 False

Ad group MAX_VCPM bid value.

TargetCpaBidValue Int64 False

Ad group TARGET_CPA bid value.This can only be specified when campaignBiddingStrategyType is TARGET_CPA.

CampaignId Int64 False

DisplayAdsCampaigns.CampaignId

Campaign ID.

CampaignName String False

Campaign name.

CreatedDate Date True

Date of Ad Group made.

Device String False

Types of devices to be posted on .Setting NONE is only available for AdGroupService. The allowed values are DESKTOP,WAP_MOBILE,SMARTPHONE,TABLET,NONE,UNKNOWN

DeviceApp String False

Application types for devices.Setting NONE is only available for AdGroupService. The allowed values are APP,WEB,NONE,UNKNOWN

DeviceOs String False

OS types for devices to be posted on.Setting NONE is only available for AdGroupService. The allowed values are IOS,ANDROID,NONE,UNKNOWN

DeviceOsVersion String False

OS version.To cancel the setting, specify NONE.

FeedSetId Int64 False

FeedSets.FeedSetId

Feed set ID.If feedSetId is not specified in ADD operation, the default set is associated automatically

Labels String False

Label information to be associated.

UserStatus String False

Ad delivery status that can be set by an user.This field is required in ADD operation

使用できる値は次のとおりです。ACTIVE, PAUSED, UNKNOWN

CustomParametersIsRemove String False

Delete flag.

使用できる値は次のとおりです。TRUE, FALSE, UNKNOWN

CustomParameters String False

Displays the element of custom parameters.

Pseudo-Columns

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

Name Type Description
CampaignGoalFilterType String

Setting for filtering campaigns (with campaignGoal) or (with no campaignGoal).

使用できる値は次のとおりです。ALL, NON_GOAL, UNKNOWN

デフォルト値はALLです。

ContainsLabelIdFlg String

Flag of contains label ID.

LabelId String

Label ID.

StartDate Date

This is the start date of the search target period.

EndDate Date

This is the end date of the search target period.

ReferenceNumber String

This column will be used in Bulk operations to get specific values from the Temp tables.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479