dongxiaofa6359 2019-04-04 19:41
浏览 25

我在哪里可以找到Google的CreateVideoLineItems的参数?

I'm trying to run a script to generate new line item for Google Ad manager but I'm running in various issue.

I'm able to successfully insert some lineitem but after a few I'm receiving this error somehow:

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

So I wanted to try the example from Google here: https://github.com/googleads/googleads-php-lib/blob/master/examples/AdManager/v201811/LineItemService/CreateVideoLineItems.php

But I am unsure as to where I can find those value:

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';

I've tried to look for some documentation on Google to find those value but I'm unable to find anything relevant.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
    • ¥15 Vue3地图和异步函数使用
    • ¥15 C++ yoloV5改写遇到的问题
    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
    • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
    • ¥15 帮我写一个c++工程
    • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
    • ¥15 关于smbclient 库的使用