A Rule that will be triggered based on certain criteria defined on ad objects, and perform custom actions.
| 필드 | 설명 |
|---|---|
idnumeric string | ID of the rule |
account_idnumeric string | ID of the ad account that owns the rule |
created_by | The user who created the rule |
created_timedatetime | Time when the rule was created |
disable_error_codeint32 | error_code explaining why this rule is disabled with issues |
namestring | The friendly name of a rule, optional for inline rules |
schedule_spec | Specifies the schedule with which a rule will be evaluated |
statusstring | The status of a rule |
updated_timedatetime | The time when the rule was last updated. |
| Edge | 설명 |
|---|---|
Edge<AdRuleHistory> | The execution history associated with this rule. Each entry represents a distinct run of the rule and provides any actions that may have been taken on any ad objects. |
| 오류 | 설명 |
|---|---|
| 100 | Invalid parameter |
| 200 | Permissions error |
adrules_library 에지에 POST 요청을 만들 수 있습니다: | 매개변수 | 설명 |
|---|---|
account_idnumeric string | Ad Account ID. This is inferred from the path. |
evaluation_specObject | Defines the evaluation spec upon which a rule will be executed 필수 |
execution_specObject | Defines the execution spec upon which a rule will be executed 필수 |
namestring | The friendly name of a rule, optional for inline rules 필수 |
schedule_specObject | Specifies the schedule with which a rule will be evaluated |
statusenum {ENABLED, DISABLED, DELETED, HAS_ISSUES} | The status of a rule |
id로 표시되는 노드를 읽습니다.id: numeric string, | 오류 | 설명 |
|---|---|
| 200 | Permissions error |
| 100 | Invalid parameter |
| 368 | The action attempted has been deemed abusive or is otherwise disallowed |
| 2703 | Rules that turn off ads can't have cost conditions. You need to change the rule's conditions or action. |
| 190 | Invalid OAuth 2.0 Access Token |
/{ad_rule_id}에 POST 요청을 하여 an AdRule을(를) 업데이트할 수 있습니다.| 매개변수 | 설명 |
|---|---|
evaluation_specObject | Defines the evaluation spec upon which a rule will be executed |
execution_specObject | Defines the execution spec upon which a rule will be executed |
namestring | The friendly name of a rule, optional for inline rules |
schedule_specObject | Specifies the schedule with which a rule will be evaluated |
statusenum {ENABLED, DISABLED, DELETED, HAS_ISSUES} | The status of a rule |
success: bool, | 오류 | 설명 |
|---|---|
| 200 | Permissions error |
| 2703 | Rules that turn off ads can't have cost conditions. You need to change the rule's conditions or action. |
| 100 | Invalid parameter |
| 190 | Invalid OAuth 2.0 Access Token |
/{ad_rule_id}에 DELETE 요청을 만들어 an AdRule을(를) 삭제할 수 있습니다.success: bool, | 오류 | 설명 |
|---|---|
| 200 | Permissions error |
| 368 | The action attempted has been deemed abusive or is otherwise disallowed |
| 100 | Invalid parameter |