modifying the docker file

2021-03-01 Thread Floyd van der weij
i had an issue changing stuff from the dockerfile.

I might still be a little new to docker.
but i added the dockerfile from the libary to my own dockerfile.
but doesnt matter what i do, it doesnt want to work.

it says the dependencies from gprc are still missing

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/54be9370-9c5f-4da9-988f-4ea5658ba1d5n%40googlegroups.com.


ADS Metrics

2021-02-01 Thread Floyd van der weij
I managed to get the Metrics for Campaigns & AdGroups
But im trying to figure out how i get the Metrics for Specific ads

[PHP]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d909b487-dfb7-4e10-bae2-38ec9a483d57n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-31 Thread Floyd van der weij
uhm after a weekend taking a break. 
i just figured it out.

it was simple, in my previous questions i asked if there was something like 
a metrics file in the libary.
but neither this forum or the API libary gave me a straight answer.

But in the Libary there is a metrics.php that uses 
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
and ofcourse its own namespace : namespace Google\Ads\GoogleAds\V6\Common;

the sollution was just to include these and it was good.
and find the metrics.php file.


im sorry if i come over a little agitated but its just something, i diddnt 
think of before.
anyhow i found it.

ill create a new post if i need help. so you can close this one
Op vrijdag 29 januari 2021 om 07:12:46 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Could you confirm if the main concern is about accessing the metrics you 
> included in your query using PHP? If yes, then you may continue your 
> discussion with the PHP client library owners 
>  instead.
>
> In addition, to ensure as well that you are not encountering issues with 
> the API's reporting, could you confirm if your requests are not returning 
> any errors?
>
> If errors are being returned or if there are no data being returned at 
> all, or if there are discrepancies, you may provide the complete request 
> and response logs so our API team can investigate further.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B28RT:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/73895fa2-91c9-401d-aacd-b81e08628100n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-28 Thread Floyd van der weij
The Metrics works,
but i have went to the PHP Libary to ask about the Metrics.

only i dont exactly know what im probably asking
but i want to call ALL the metrics

I know thats with $Element ->GetMetrics()
But i get Protected Objects Returned that i want to call.
only i cant figure out where the functions are where to call those functions

i have seen examples with only 3  examples
$metrics->getImpressions();
$metrics->getClicks();
$metrics->getCostMicros();
BUT where are the other ones.




Op donderdag 28 januari 2021 om 04:53:28 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Could you confirm if you have already enabled logging 
> ? 
> If yes, could you retry your request and also share the generated request 
> and response logs? Requesting these details so our team can also 
> investigate the issue on our end.
>
> You may send the requested details using the *Reply privately to author* 
> option. Should this option be unavailable, you may send the details to our (
> *googleadsa...@google.com*) alias instead.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B28RT:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/318e97e6-7f93-4cf7-9ce7-2a009b381802n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-25 Thread Floyd van der weij
Hey, i just wanted to say that i have been stupid and diddnt even call the 
function that the method was in.

i already found it super strange nothing got returned.
if i have any other questions ill ask it here.



Op maandag 25 januari 2021 om 16:04:29 UTC+1 schreef Floyd van der weij:

> After Trying that one, i diddnt get any result out of this.
>
> Did i do something wrong with my query or do i need to add more
> Op vrijdag 22 januari 2021 om 22:00:46 UTC+1 schreef adsapiforumadvisor:
>
>> Hi Floyd,
>>
>> Thank you for reaching out. To get the metrics you are supposed to use 
>> $googleAdsRow->getMetrics()->getImpressions() 
>> <https://github.com/googleads/google-ads-php/blob/master/examples/Reporting/GetHotelAdsPerformance.php#L136>
>> .
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>  
>>
>>  
>>
>>
>> ref:_00D1U1174p._5004Q2B28RT:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/669f133b-9551-4df6-a40b-60f5e2ef3e00n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-25 Thread Floyd van der weij
After Trying that one, i diddnt get any result out of this.

Did i do something wrong with my query or do i need to add more
Op vrijdag 22 januari 2021 om 22:00:46 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Thank you for reaching out. To get the metrics you are supposed to use 
> $googleAdsRow->getMetrics()->getImpressions() 
> 
> .
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
>
>  
>
>
> ref:_00D1U1174p._5004Q2B28RT:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/384325c4-856b-4da6-a03a-64db07ae5dd7n%40googlegroups.com.


Re:

2021-01-22 Thread Floyd van der weij
1. if your advertising this isnt a place for it.
2nd if you have a issue with google ads api, then please write it down in 
detail.

Ps. please do something on your english. 



Op dinsdag 19 januari 2021 om 17:33:46 UTC+1 schreef shaukatk...@gmail.com:

> Hi i'm student.
> I know blue , chase, Ace flare , chaking and saving accounts 
> So i'm looking for a clint any one help me. Thank u in advance
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/710537f1-d5b3-4124-bdf5-3b86e7e60103n%40googlegroups.com.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-01-22 Thread Floyd van der weij
*reading back my code i made a huge mistake*

I meant : 

foreach ($Stream->iterateAllElements() as $Element) {

  // ALL Data out of the Object Campaign.
  $campaign = $Element->GetCampaign('"');

  // Name.
  $name = $campaign->GetName();
  // Status.
  $status = $campaign ->?();

}

i changed 

$name = $campaign->GetName();
  // Status.
  $status = $campaign ->?();  

my applogies 
Op vrijdag 22 januari 2021 om 09:52:22 UTC+1 schreef Floyd van der weij:

> {this is PHP but the libary should be mostly the same} : 
> 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('"');
>   // 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
>
> these 2 you can find things for Reporting data
>
> also good to know in what dimention/Layer Data is located 
>
> aka what do you need to call to get that certain thing.
>
>
> --
> If you need ads for example
> you First need to give an CustomerID With an CampaignID then The Adgroup 
> and then the AD
>
> and more things like that.
> Picture :
> [image: image-maps-overview.png]
> Op vrijdag 22 januari 2021 om 08:32:43 UTC+1 schreef 
> aseem.t...@hotel-spider.com:
>
>> Hi Peter Laurence Napa Oliquino,
>>
>> Thanks for your help.
>> Is there a way to list resources like Campaigns, Ad Groups, Ad Group Ads, 
>> etc using the API?
>>
>> Thanks.
>>
>> - Aseem
>>
>> On Friday, January 22, 2021 at 8:57:22 AM UTC+5:30 adsapiforumadvisor 
>> wrote:
>>
>>> Hi Aseem,
>>>
>>> Moving ads to another ad group is not possible via the API. 
>>>
>>> However, you should be able to get its attributes via an 
>>> AdGroupAdService.GetAdGroupAdRequest 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v6/AdGroupAdService#getadgroupad>.
>>>  
>>> Afterwards, you can perform a mutate 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v6/AdGroupAdService#mutateadgroupads>
>>>  
>>> request to create a new ad to a new ad group using the details retrieved.
>>>
>>> To construct your REST interface request, you may derive it using the 
>>> below relevant documentation :
>>>
>>> REST Interface 
>>> <https://developers.google.com/google-ads/api/docs/rest/overview>
>>> Design 
>>> <https://developers.google.com/google-ads/api/docs/rest/design/overview>
>>> Get methods 
>>> <https://developers.google.com/google-ads/api/docs/rest/common/get>
>>> Mutate methods 
>>> <https://developers.google.com/google-ads/api/docs/rest/common/mutate>
>>> Discovery document for V6 
>>> <https://googleads.googleapis.com/$discovery/rest?version=v6>
>>>
>>> I hope this helps.
>>>
>>> Best regards,
>>>
>>> [image: Google Logo] 
>>> Peter Laurence Napa Oliquino 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2B29bw:ref
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/780ae6c2-c356-4608-beed-e784bf45e637n%40googlegroups.com.


Re: How to get the reports in google ads api in php

2021-01-21 Thread Floyd van der weij
(im not a google helper but)

Did you check out the Campaign.php Runexample()?
If yes 

then make sure you have :

CustomerID 
Connection with google (googleAdsClient) 
Query for the kind of data you want to ask


in the foreach : 

foreach ($Stream->iterateAllElements() as $Element) {

$campaign = $Element->GetCampaign();

$ResourceName = $campaign->getResourceName(),
$id = $campaign->getId(),
$name = $campaign->GetName(),
$status = $campaign->GetStatus(),
}

you can find the Functions in 
google-ads-php -> src -> V6 -> Recources -> Campaign.php


Op donderdag 21 januari 2021 om 12:12:39 UTC+1 schreef 
muthukuma...@gmail.com:

>
> How to get the reports in google ads api in php

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b1b5c842-ffad-4c79-b987-a5504ae6c316n%40googlegroups.com.


Re: GoogleAdsServer fault error LABELS_PER_TYPE_PER_CUSTOMER

2021-01-21 Thread Floyd van der weij
i aint a google helper
But looking at the error

first part probably indicates that you hit a daily limit
*EntityCountLimitExceeded.**ACCOUNT_LIMIT*  

1st probablity for limit

if im correct the limit is to limit the amount of data you can get
if you set it to  * limit=10,*  
you will get like an enourmous amount of data that, probably you and google 
doesnt like.
i recommend this setting to 100 at first for testing and making your way up 

---
2nd probablity (more likely if its not based on your code)

*limit=10,*  = the amount of times you are able to call data out of 
google per day. 
Meaning you basically called that much data in a day that google says no 
more.
and blocks it for the day.

sollution for this is to either limit the amount of data you ask.
or look for loops that are endless or something in that way

---
i dont know what 



*existingCount=null isbut i think its something about the current call, you 
called that much data but since you maybe reloaded your page and reloaded 
the action.it becomes null*

*-*
Op donderdag 21 januari 2021 om 11:38:38 UTC+1 schreef 
angela...@seekandhit.com:

> Hi,
>
> There is no documentation on this error:
>
> *[EntityCountLimitExceeded.ACCOUNT_LIMIT @ operations; trigger:'' 
> (enclosingId=7928184321, limit=10, 
> accountLimitType=LABELS_PER_TYPE_PER_CUSTOMER, existingCount=null)]*
>
> what is it, and what limit, on what customer? can you plz define whats 
> wrong, especially since *existingCount=null*?
>
> Thanks!
>
> Best regards,
> Angela Čelar
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/da1192a1-fb00-45a3-9599-34307e489742n%40googlegroups.com.


Iteration of metrics [PHP]

2021-01-21 Thread Floyd van der weij
I have ran into an issue where i have am able to get the Data out of 
Campaigns and adgroups

But i cannot seem to figure out where the functions of metrics are stored.

I know that for campaign, its like Campaign.php
Ads adgroups.php

but there are not any for metrics or atleast in general


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/556c638f-e69e-4541-8f4a-e5fb385914c9n%40googlegroups.com.


Re: Iterate all Data out of Google/Protobuf Objects [PHP]

2021-01-20 Thread Floyd van der weij
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.


Iterate all Data out of Google/Protobuf Objects [PHP]

2021-01-20 Thread 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/6884b167-b1e0-4cf5-b8f1-473c5bb9e31cn%40googlegroups.com.


Re: Iterate all Data out of Google/Protobuf Objects [PHP]

2021-01-19 Thread Floyd van der weij
That helped me out alot, once again thank you.

But i still have an issue with finding out how to call data out of Objects 
like : [GetCampaign] or even [AdGroups] and more.

For Example i have :

*$Campaign = $Element->GetCampaign();*But since Campaign Is still an 
"Object", i Need to call things like

*$CampaignName = $Campaign->GetCampaignName();*
Only here is my Question :
Where can i find things like GetCampaignName and more.



*in the past i found a list in the Refrence section of google Dev.But 80% 
diddnt work, so i was probably at the wrong place.*
Op maandag 18 januari 2021 om 17:21:54 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Thank you for reaching out. If you would like to get all the fields of an 
> entity in the response, you could consider using the get method such as 
> CampaignService.GetCampaign() 
> ,
>  
> this would return all the fields of a campaign. The difference between the 
> get and the search or searchStream methods is that  the get 
>  
> method returns all fields fully populated but the search and searchStream 
>  
> methods return just the fields you're interested in.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B0bRm:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/89d40bad-6f86-4ac8-887f-e3c1942ad518n%40googlegroups.com.


Re: Easier way to Query All Data / iterate all date out of the stream [PHP]

2021-01-17 Thread Floyd van der weij
I diddnt mean to let the google api handle the csv.
But i meant that in PHP, is there a efficiënt way of Getting ALL the data 
from campaign's, Ads, Ad Campaigns Etc.
Without trying to write a list of 100 Query's?

On the 2nd thing,
The Smart IDE idea is great and it saved me alot of time already.
Thank you.


Op vrijdag 15 januari 2021 om 21:59:52 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Thank you for reaching out. Unfortunately, the Google Ads API could not 
> provide reports with CSV format. To check what you can fetch from the 
> returned response you could look into the response object to see what 
> entities are available. You could also use the intellisense of your IDE to 
> check the available options. One other trick is to look into the 
> corresponding resource to discover what fields and metrics are exposed from 
> the API. The workaround to convert returned results to CSV files is to 
> convert the response object to CSV format using the Java libraries such as 
> FileUtils 
> 
> .
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B0bRm:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d333e55d-4c63-4d87-b0cc-38134dce5f0cn%40googlegroups.com.


Easier way to Query All Data / iterate all date out of the stream [PHP]

2021-01-15 Thread Floyd van der weij
I have been looking into getting the data from google ads to a csv.

I had a few issues while doing this.

1.
After Searching alot, i found the SQL builder.
but i need EVERY single thing. but currently i have the hugest string in 
the world.
*not that it matters* but still.

2. 
I tried to get all the data out of the stream :
$Stream = $Connection->searchStream($CustomerID, $Query);

But i have to give things like :
$ad_group = $Stream   ->GetAdGroup();
$ad_group_ad = $Stream   ->GetAdGroupAd();
$ad_group_ad_asset_view = $Stream   ->GetAdGroupAdAssetView();

i have seen the forum, and reffrences of what you can call.
but some things arent working
and isnt there a faster way of calling the data?
and a smaller way?

with kind regards 
- Floyd

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a0f95c9a-998b-4dee-8c4d-df136a6f19efn%40googlegroups.com.


Re: Google Laravel Example Giving Stream NULL *need help*

2020-12-15 Thread Floyd van der weij
I cant react to author but, id like to close this. because i have dropped 
the Laravel Project and went over to make my own application that has 
intergrated Google Ads.

i will make an other Ticket/Conversation in the future because i do have 
questions about the Ads API
-Floyd
Op donderdag 10 december 2020 om 21:05:34 UTC+1 schreef adsapiforumadvisor:

> Hello,
>
> Thank you for reaching out. Can you please share the detailed request and 
> response logs using the reply privately to author so that we can 
> investigate this issue? You can find information on enabling logging here 
> 
> . 
>
> Laravel appears to be a third party API, so I would recommend reaching out 
> to them for assistance as well.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28oYVo:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c2bfda38-5cfa-452f-a9c4-c52f31e24ebbn%40googlegroups.com.


Google Laravel Example Giving Stream NULL *need help*

2020-12-09 Thread Floyd van der weij
Hello, i have been working with Google ads over 2 weeks now, without any 
progress.

I tried making my own app, then used examples and then i went over to just 
debug stuff without any progress.

Now im at the laravel Example from google 
and everything finally looked like it worked but im getting the error :


```
{ "message": "Request contains an invalid argument.", "code": 3, "status": 
"INVALID_ARGUMENT", "details": [ { "@type": 
"google.ads.googleads.v6.errors.googleadsfailure-bin", "data": "" }, { "@type": "grpc-status-details-bin", "data": "" }, { "@type": "request-id", "data": "PQ2-pLYC_X7l0INbaqs9ww" 
} ] } 
```
I traced it back to  The tag $stream 
```
$stream = $googleAdsClient->getGoogleAdsServiceClient()->searchStream(
$customerId,
$query
);
```

i var_dumped the stream and i got : 
```
*object*(*class@anonymous*)[*22680*] *private* 'responseMetadata' => 
*object*(*Google\Ads\GoogleAds\Lib\V6\GoogleAdsResponseMetadata*)[*22616*] 
*private* 'metadata' => *array* *(size=0)* *empty* *protected* 
'serverStream' => *object*(*class@anonymous*)[*22679*] *private* 
'statusMetadataExtractor' => *object*(
*Google\Ads\GoogleAds\Lib\V6\StatusMetadataExtractor*)[*22675*] *protected* 
'serverStream' => *object*(*Google\ApiCore\ServerStream*)[*22683*] *private* 
'call' => *object*(
*Google\Ads\GoogleAds\Lib\V6\GoogleAdsLoggingServerStreamingCall*)[*22681*] 
... *private* 'resourcesGetMethod' => null *private* 'call' 
(Google\ApiCore\ServerStream) => null *private* 'resourcesGetMethod' 
(Google\ApiCore\ServerStream) => null *private* 'call' 
(Google\ApiCore\ServerStream) => null *private* 'resourcesGetMethod' 
(Google\ApiCore\ServerStream) => null 
```

what am i doing wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9445eb1c-8f82-437a-ba32-f9cfad29a59an%40googlegroups.com.