Happened. But Now another problem.
GetBillingAccounts returns null

*my code:*
$oAuth2Credential = (new OAuth2TokenBuilder())
        ->fromFile()
        ->build();
global $clientCustomerId;

$session = (new AdWordsSessionBuilder())
        ->fromFile()
        
->withOAuth2Credential($oAuth2Credential)->withClientCustomerId($clientCustomerId)
        ->build();
$AdWordsHeaderHandler = new AdWordsHeaderHandler();
$AdWordsHeaderHandler->generateHttpHeaders($session);
$SoapLogMessageFormatter = new SoapLogMessageFormatter();
$AdWordsServiceDescriptor = new 
AdWordsServiceDescriptor(BudgetOrderService::class);

$AdsSoapClientFactory = new AdsSoapClientFactory($SoapLogMessageFormatter);
$soapClient = $AdsSoapClientFactory->generateSoapClient($session, 
$AdWordsHeaderHandler, $AdWordsServiceDescriptor);

var_dump($soapClient->getBillingAccounts());


пятница, 28 июля 2017 г., 21:49:12 UTC+3 пользователь Sreelakshmi 
Sasidharan (AdWords API Team) написал:
>
> Hi, 
>
> Are you looking for a code sample for BudgetOrderService 
> <https://developers.google.com/adwords/api/docs/reference/v201705/BudgetOrderService>?
>  
> If so, we don't have a documented sample for this service. You can refer to 
> the code snippets in this 
> <https://developers.google.com/adwords/api/docs/guides/budget-order> guide 
> to understand how to perform various operations. You can also find the 
> complete set of code samples in PHP here 
> <https://github.com/googleads/googleads-php-lib/tree/master/examples/AdWords>
> . 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3c5668f6-1ef1-4db9-aee3-dd25c7218f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Error alekseypp
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... alekseypp
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... alekseypp
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to