我正在尝试运行脚本来为Google广告管理器生成新的订单项,但是我遇到了各种各样的问题。
我能够成功插入一些lineitem,但过了几次,我就以某种方式收到此错误:
Fatal error: Uncaught SoapFault exception: [soap:Server] null while invoking public abstract java.util.List com.google.ads.publisher.api.service.lineitemcreativeassociation.LineItemCreativeAssociationService.createLineItemCreativeAssociations(java.util.List) throws com.google.ads.api.services.common.error.ApiException with params [[com.google.ads.publisher.api.service.lineitemcreativeassociation.v201811.jaxbgen.LineItemCreativeAssociation@797c819a, com.google.ads.publisher.api.service.lineitemcreativeassociation.v201811.jaxbgen.LineItemCreativeAssociation@7535a548, com.google.ads.publisher.api.service.lineitemcreativeassociation.v201811.jaxbgen.LineItemCreativeAssociation@3ce60ab9, com.google.ads.publisher.api.service.lineitemcreativeassociation.v201811.jaxbgen.LineItemCreativeAssociation@1ce30ddf, com.google.ads.publisher.api.service.lineitemcreativeassociation.v201811.jaxbgen.LineItemCreativeAssociation@18e3f88, com.google.ads.publisher.api.service.lineitemcreativeassociation.v201811.jaxbgen.LineItemCreativeAssociation@ in /Users/Developer/projects/google-prebid/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php on line 152
所以我想在这里尝试Google的示例: https://github.com/googleads/googleads-php-lib/blob/master/examples/AdManager/v201811/LineItemService/CreateVideoLineItems.php
但是我不确定在哪里可以找到这些值:
const ORDER_ID = 'INSERT_ORDER_ID_HERE';
const AD_UNIT_ID = 'INSERT_AD_UNIT_ID_HERE';
const CONTENT_ID = 'INSERT_CONTENT_ID_HERE';
const CONTENT_BUNDLE_ID = 'INSERT_CONTENT_BUNDLE_ID_HERE';
我试图在Google上寻找一些文档来寻找这些价值,但是我找不到任何相关的东西。