AdsApp.​PolicyTopic

Represents an ad's policy topic. These are policy decisions that have been made about the ad.

For more information about policy topics, please see the Google Ads Help Center article.

Methods:

MemberTypeDescription
getId String Returns the ID of the policy topic.
getName String Returns the name of the policy topic.
getType String Returns the type of the policy topic.

getId()

Returns the ID of the policy topic. e.g. "RESTRICTED_MEDICAL_CONTENT" or "DESTINATION_NOT_WORKING".

Return values:

TypeDescription
String The ID of the policy topic.

getName()

Returns the name of the policy topic. e.g. "Destination not working" or "Restricted medical".

Return values:

TypeDescription
String The name of the policy topic.

getType()

Returns the type of the policy topic. This describes the effect the policy topic has on the ad. e.g. "PROHIBITED" or "LIMITED".

For a full list of policy topic types and the effect they have on ads, please see the AdWords API documentation on policy topics.

Return values:

TypeDescription
String The type of the policy topic.

다음에 대한 의견 보내기...

Google Ads scripts
Google Ads scripts
도움이 필요하시나요? 지원 페이지를 방문하세요.