EDIT:   $campaign = $Element->GetCampaign('GetCampaignRequest');  is 
suppose to be   $campaign = $Element->GetCampaign('"');  


Op woensdag 20 januari 2021 om 09:14:49 UTC+1 schreef Floyd van der weij:

> This is my last Message For this topic. (and will create a new one for a 
> new question)
> But i wanted to clarify for people who have/had the same issue as me and 
> are searching for a answer.
>
> For PHP :
> When Calling Elements from a Stream Aka : $Stream = 
> $Connection->searchStream($CustomerID, $Query);
>
> When you Foreach The Data you usually have something like this :
> foreach ($Stream->iterateAllElements() as $Element) {
>
>   // ALL Data out of the Object Campaign.
>   $campaign = $Element->GetCampaign('GetCampaignRequest');
>   // Name.
>   $name = $Element->GetName();
>   // Status.
>   $status = $Element->?????();
>
> }
>
> Status is unknown but, you can find that at :
> (Depending on libary, But in V6 its usually) :
> google-ads-php/src/Google/Ads/GoogleAds/V6/Recources/Campaign.php
> Or if you have something like AdGroups
> google-ads-php/src/Google/Ads/GoogleAds/V6/Recources/AdGroup.php
>
>
> But i wanted to say thank you for your help.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f08feaba-644d-4d93-9abe-30a50cce05f7n%40googlegroups.com.

Reply via email to