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.